Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / January 2004

Tip: Looking for answers? Try searching our database.

Eclipse/Lomboz Problem: "Generate EJB Files" does not work

Thread view: 
Benjamin Wagner - 08 Jan 2004 12:01 GMT
Hi,

I just installed the Lomboz Pugin for Eclipse and got stucked while
following the tusc tutorial
(http://www.tusc.com.au/tutorial/html/chap1.html)

It worked all great until i should generate the required interfaces,
helper classes and files related to deployment. The ejbsrc folder is
created but without any content. Also no new files are created in
"MyBean/META-INF".

I compiled it with ant in the comand-line, which worked without
problem.
It was also no problem to start the JBOSS from within Eclipse, but i
was again not able to deploy anything....

I'm not sure if there is something wrong with eclipe and ant or if the
problem is caused by lomboz.

I'm using Eclipse 2.1.2, Lomboz 2.1.2 and JBoss 3.2.3

thanks for your help
ben
Tristan Keen - 09 Jan 2004 23:43 GMT
[This followup was posted to comp.lang.java.softwaretools and a copy was
sent to the cited author.]

> Hi,
>
[quoted text clipped - 19 lines]
> thanks for your help
> ben

 I've almost finished the same tutorial with the same program versions
on a jdk 1.4.2 Win2K box, but it worked for me.  Have you double checked
all the Lomboz installation stuff (from their install guide)?  Have you
added the bean to the module (the "Add to Module" context menu item)
before generating EJB sources for that module?  Have you changed some of
the packages but forgotten to change all the references?

 Once you're past that stage you'll find that XDoclet (Lomboz uses this
to generate the java files) has a couple of bugs - still in the latest
release AFAIK.  The one noted in the tutorial can be fixed by following
http://www.amitysolutions.com.au/documents/XDocletChange-technote.pdf &
using a slightly different tag from the tutorial.

 Another occurs during the SessionStateBean example - it gets the
generated ejbCreate param list wrong in the LocalHome interface.  I
didn't get round to fixing XDoclet for that as the bean isn't used in
later chapters.

Tristan.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.