File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes interview questions 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 "interview questions" Watch "interview questions" New topic
Author

interview questions

kesava chaitanya
Greenhorn

Joined: Aug 20, 2001
Posts: 28
hi gurus,
1)If i want to do transactions which bean should i use I mean session or entity and why?
2)what is authorization and authentication?
with regds
chaitanya
Snigdha Solanki
Ranch Hand

Joined: Sep 07, 2000
Posts: 128
Hi,
For managing transactions (multiple operations in one transaction),the preferred approach would be to use Session Facade pattern i.e., wrapping the entity bean layer in a layer of session beans. You can put the same code in entity bean also but that would make entity bean difficult to understand,maintain, and reuse.Merging application logic with persistence logic will result in poor application design.
thanks
[ June 17, 2002: Message edited by: snigs ]

Snigdha<br />Sun Certified Programmer for the Java™ 2 Platform
Hari babu
Ranch Hand

Joined: Jun 25, 2001
Posts: 208
Hi,
Authentication refers to valid user or not, the registered user or not.Authorization refers to whether the user is authorized to access a particular application/ module or not.
Hari
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

"snigs"-
Welcome to the JavaRanch! Please adjust your displayed name to match the JavaRanch Naming Policy.
You can change it here.
Thanks! and again welcome to the JavaRanch!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: interview questions