Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

merging session and entity

 
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: 17278
6
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
Marshal
Pie
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic