aspose file tools
The moose likes EJB and Other Java EE Technologies and the fly likes How to implement in EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "How to implement in EJB" Watch "How to implement in EJB" New topic
Author

How to implement in EJB

Sridhar R
Greenhorn

Joined: Nov 18, 2001
Posts: 5
1)We have a application where user can only modify the database they are not allowed to make new entries in database.
each modification effects 3 to 4 tables. how can this be implemented.
2) also i would like to know how they can modify in bulk for example add 15 % bonus to employees whose sal is > 80000K and 20 % whose sal is ess than < 80000
This will involve modification of around 25000 emp
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
1) Using entity beans? Don't include any create methods. Use only find methods. Not using entity beans? Then don't code any inserts.
2) Use JDBC from a session bean.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
 
subject: How to implement in EJB
 
Threads others viewed
records modified by more than one users
modify..
Locking and concurrent Access.
SQL query help
How to deploy modified JForum using the existing MySQL database
Two Laptop Bag