Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB tools available for generation of EJB Artifacts

 
Stanley Walker
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Suhas Mandrawadkar
Ranch Hand
Posts: 72
Android Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic