Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

merging session and entity  RSS feed

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Can we put all three beans together and make the application work?

in other words, will we ever get a situation where we have to use more than one bean per application?

Regards,
Rahul Roy
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"will we ever get a situation where we have to use more than one bean per application?"

I would sure hope so, putting everything in one Bean/Class would not be very OO like.

Mark
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we put all three beans together and make the application work?


Are you talking about the 3 bean types - sesion, message driven and entity? If yes, then i would say it all depends on your application. I have seen applications which usually use Stateless Session beans and Message driven beans. That does not mean that the other types of beans cant be used together.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!