Re: [jboss-user] [Beginner's Corner] - Just installed jboss-5.1.0.GA.zip; where are the examples?
by Ken Kopelson
Ken Kopelson [http://community.jboss.org/people/kenbkop] replied to the discussion
"Just installed jboss-5.1.0.GA.zip; where are the examples?"
To view the discussion, visit: http://community.jboss.org/message/535479#535479
--------------------------------------------------------------
This is wanting what I want, which is a working example. The web has a lot of old examples out there that don't work any more because of changes in JBoss. I know how to bring up a page that shows if JBoss is working, but that is not what this user is asking for. He wants to see an example of Java code, XML, configuration information, that is a current working "hello world" application, complete with all annotations needed, that will work on any installed server. Can somebody please provide this or point us to where it can be found?
My suggestion would be that for every JBoss release there needs to be complete examples of how to use the new features, and these should be written for beginners since for any given new JBoss release there will be new people coming on board, especially if the product becomes easier and easier to use.
Many thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535479#535479]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years
[Beginner's Corner] - Desperate for some documentation...please?
by Ken Kopelson
Ken Kopelson [http://community.jboss.org/people/kenbkop] created the discussion
"Desperate for some documentation...please?"
To view the discussion, visit: http://community.jboss.org/message/535477#535477
--------------------------------------------------------------
I am new to JBoss and am having trouble getting a simple Web Service working under Eclipse. The main problem I am having is getting solid documentaiton that is complete and accurate. I have two eBooks, one JBoss in Action, and JBoss AS 5 Development, but neither provides up-to-date information or examples that work. I installed JBoss AS 5.1 and then followed the instructions provided in all the various examples I could find, and I keep getitng errors like "Invalid Port Type" or such things as that. All the examples have values in their various annotations or XML config files that are not clearly documented, and the documentation that I can find it either out-of-date, sparse with no explanations, or incomplete.
Even the example provided in the JBoss documenation is incomplete since it only shows Java code for the class of a EJB and not the interface. The interface is important to show since it requires some annotations also (apparently) because it is the interface name that is referenced in the WSDL, not the class... at least that is how it appears.
What I really need is:
1) A good example of a simple EJB Web Service, including the class, the interface, the web.xml, and any and all other configuration informations. It should be clear about how things should be named, such as the end points, the SOAP type, the WebService annotation options like "name", "ServiceName" etc. This is really where the problem is because I found that somebody else was having the same trouble as me (on google) and they said in their forum post "I changed the names to such-and-such and it fixed the problem" but then no explanation as to why it then worked. A single, tested, complete example of a working WebService (hello world) that documents any assumptions about the environment (such as endpoint URL) and also provides a little discussion about options that can be chosen, would be very useful and helpful.
2) Some up-to-date documenation that gives tangible and complete examples of how things should be done with the new AS 6. It seems that most documentation assumes that people already know JBoss, or have been using it for years, or are already familiar with all the new terms, etc. It seems that the books out there are either out-of-date or not very complete.
Please help... I need this for my job as soon as possible... many thanks in advance!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535477#535477]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years
Re: [jboss-user] [jBPM] - Asynchronus execution error
by ABIDI Sami
ABIDI Sami [http://community.jboss.org/people/uaibys] replied to the discussion
"Asynchronus execution error"
To view the discussion, visit: http://community.jboss.org/message/535466#535466
--------------------------------------------------------------
Hi Huisheng,
Thank you for this explanation, but deploying a zip archive containing classes didn't add any deployment in jbpm database, and no process was deployed. So I am not sure that I did this deployment correctly : I took all the packages of class files containing th process and all classes and i executed the zip deployment code, but that didn't add any deployment to the jbpm database. Is that the correct way you meant??
I would like to know also if the deployment with ant can deploy classes, I tried that but I don't know if my ant file is good or not, because program couldn't load the class either.
My ant file is the same as the examples of jbpm installation one, but I added these elements :
<path id="jbpm.libs.incl.dependencies">
<pathelement location="${jbpm.home}/eclipse/workspace/PETest1/target/classes" />
<fileset dir="${jbpm.home}">
<include name="jbpm.jar" />
</fileset>
<fileset dir="${jbpm.home}/lib" />
</path>
<jar destfile="${jbpm.home}/eclipse/workspace/PETest1/target/PETest1.bar">
<fileset dir="${jbpm.home}/eclipse/workspace/PETest1/src">
<include name="**/*.jpdl.xml" />
</fileset>
</jar>
<taskdef name="jbpm-deploy"
classname="org.jbpm.pvm.internal.ant.JbpmDeployTask"
classpathref="jbpm.libs.incl.dependencies" />
<jbpm-deploy file="${jbpm.home}/eclipse/workspace/PETest1/target/PETest1.bar" />
also I replaced all the directories by the new ones.
Is that correct? ... What should be the problem according to you??
Thanks ;)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535466#535466]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years