• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB tools available for generation of EJB Artifacts

 
Ranch Hand
Posts: 101
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Ranch Hand
Posts: 72
Android Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic