• Post Reply Bookmark Topic Watch Topic
  • New Topic

Ejb

 
Sridhar R
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want some clarification.
Normally The user will query the database.
This results in abt 1 - 50000 records. He can select the required record. He can only modify the record he never creates a new record.
He makes changes in that record which updates three tables.
How can i implement this type of requirement with EJB
 
Leena Diwan
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello !
In weblogic, you can have grops of users. The group is assigned
accesses. You can set the access such that the user won't be able to have the create access. These roles are quite helpful for creating the business-access-types like for a banker it is R1 and for a depositor it is R2 likewise.
Update of the rest three tables you will have to code in the SB.
Like if you are creating a banker, you should also have an entry in User table. So while creating banker, you add an entry in the User table and then in the Banker table.
AM I right ? anyone needs to comment ?
Regards..
Leena
 
Nitin Kohli
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For This kind of a problem you have to create a Session Bean which queries the records. Initialize a batchsize for displaying the records.
For the Read Write mode set up an access level table which will give the users read, write or update records based on their acess levels.
And this can be handled at the front end.
Hope this was helpful...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!