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
posted
0
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
posted
0
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
"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!