• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Ejb

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
I wish to win the lottery. I wish for a lovely piece of pie. And I wish for a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic