• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB type

 
Prabodh Upreti
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am an EJB novice so forgive me if I am not making sense.
I want to create an utility class where I would like to write some methods used by the development team. I could create a JavaBean for this purpose.
Since I want to learn EJB I would like to find out what type of EJB would be most suitable for this purpose. The first method I was going to write is one that would query the database based on the string that is passed. This would return a vector with the result.
Thanks in advance.
 
Vin Kris
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stateless session bean would be your best bet since it is a utility bean.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!