aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes merging session and entity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "merging session and entity" Watch "merging session and entity" New topic
Author

merging session and entity

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

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

Joined: Feb 05, 2001
Posts: 17257
    
    6

"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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10210
    
166

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.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: merging session and entity