- This topic has 4 replies, 2 voices, and was last updated 19 years, 2 months ago by trostum1.
-
AuthorPosts
-
trostum1MemberHi, i have created and deployed a HelloWorld ejb. I used the tutorial from myeclipseide.com (“creating my first ejb”) to create all the interfaces etc. Then i used xdoclet. I manually created a new class file wich was to be the client who would connect and receive a “hello world” String.
When i ty to run the client i am missing a bunch og jar-files (from jboss). How can i know wich jar-files i need to import and isn’t there a way for myeclipse to do this automatically?
Riyad KallaMemberWhat app server are you deploying to? Your app server should provide all these JAR files for you.
trostum1MemberI’m using jboss as an application server. the jar-files i get from jboss, but the thing is i don’t know wich jar-files i need. I’m so frustrated over jboss, myeclipse and this xdoclet stuff that i’m almost throwing the pc out of the window!!
No good tutorials on using jboss with myeclipse? And where’s the docs on xdoclet???
Riyad KallaMembertrostum,
Sorry to hear you are having a hair-ripping experience with EJBs, this is the reaction that many people have to them which is why Spring was born. Regardless, the tutorials covering JBoss/MyEclipse and EJBs are all in our Documentation section here: http://myeclipseide.com/ContentExpress-display-ceid-67.htmlThe one you most likely want to follow step-by-step is the EJB Development one here: http://www.myeclipseide.com/images/tutorials/quickstarts/firstejb/
I would suggest if you have been banging on this for a while and things are sufficiently mucked with (app server settings, JARs, project settings, etc.) I would encourage you to do the following to keep things simple:
1) Create a new workspace: File > Switch Workspace > C:\ejbWorkspace, hit OK.
2) Redownload JBoss 4.0.2 and unzip it to a new location: C:\jboss\4.0.2
3) Setup JBoss 4 in Myeclipse by pointing ot the home dir and specifying a JDK for it to launch with.
4) Try and run JBoss from the App server control button in the tool bar, did it start/stop correctly?
5) Work through the EJB tutorial I gave above step by step and just atleast try and get that working. This should help give you better bearings.I think steps 1-3 are important because you want to remove the possibility that some JAR you might have moved or copied is going to cause deployment issues, god knows the simplest little hickups can take up hours to figure out or work around, so I’m trying to minize any of that happening here.
trostum1Memberok, thank you. I have downloaded a jboss ide plugin for eclipse. When i tried to follow the tutorial on that it failed right away, an error msg was shown! 🙂
So i’m removing everything and starting with a fresh copy of it all.
Also, if you happen to know a good tutorial on how to manually deploy a project on jboss only… post it here -
AuthorPosts