wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes EJB tools available for generation of EJB Artifacts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB tools available for generation of EJB Artifacts" Watch "EJB tools available for generation of EJB Artifacts" New topic
Author

EJB tools available for generation of EJB Artifacts

Stanley Walker
Ranch Hand

Joined: Sep 23, 2009
Posts: 87
Hello everyone,

I have a question on which is the best open source tool available for generation of EJB artifacts such as home/component interfaces and deployment descriptors.
I would like to simply write the bean class and the tools should take care of the rest.
I have been researching on this and came across EJBGEN however i wouldnt want every developer to learn the custom tags semantics. I would like to automate the process entirely such as:

Home Interface package = {bean class package}.home

Home Interface name = {bean class package}.home.{beanclassName}Home

Component Interface package = {bean class package}.component

Component Interface name = {bean class package}.component.{beanClassName}Component

jndi name= {bean class package delimited by /}/{bean class name}

Is there a way i can do this using EJBGEN? I was thinking of writing my own class which would annotate the bean class with the tags required by ejbgen but im not sure if that is an additional unneccessary step.

I would appreciate any help in this regard.
Thank you.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9960
    
163

Are you sure you want to use EJB2.x? EJB3 and EJB3.1 no longer require those home/local home interfaces and all you have to do is write the bean implementation class and annotate it.



[My Blog] [JavaRanch Journal]
Suhas Mandrawadkar
Ranch Hand

Joined: Jul 21, 2007
Posts: 72

Hi

NetBeans IDE is open-source and free. What is stopping you from using it ?
It creates everything for you. You just have to focus on implementing your business logic


Regards, Suhas S. Mandrawadkar.
Certifications: SCJP 6, SCWCD 5, Oracle WebLogic Server Administrator, OCE Java EE 6 EJB Developer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB tools available for generation of EJB Artifacts
 
Similar Threads
long post IBM.158
WebLogic server-not getting the component interface right
JNDI Lookup/ejb-jar.xml to find an another ejb
Build EJB from bean class with ANT
Home and componen interface for multiple bean classes