Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Purpose of EJB  RSS feed

 
Jojo Khanna
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do we need EJB and in which areas do we use it?
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jojo,
This topic has been covered extensively in this forum. Please try the "search" funtionality for this question.
Best Regards,
Matt
 
George Toronto
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, jojo
Good question. why did noman answer it?
Why do we use EJB technologies is on 7 ways. I answer it by asking you questions.
1) Do you need to isolate bix-logic components from the public internet? ya, most do it. that guarantee the separation between presentation and biz-logic. Although direct JDBC calls from servlets should improve the performance.
2)Do you need to have more than one client type access shared data? one app can be accessed by muti-client, and they maybe access the same information. For example, External user and INterval user(staff) check same account information etc. EJB can solve this by controling the access to back-end data's transaction and DB locking integraty.
3)Do you need concurrently read or upddate access to shared data?
4)Do you need to access multiple disparate data sources with transaction capabilities?
5)Do you need method-level object security seamlessly integrated with sercurity for HTML documents,servlets,JSP files and Client login?
6) Is there an architectureal push toward a standard, portable, component-based architecture?
7)Do you need multiple servers to handle the thoughout or availiblilty needs of the system?
The above is the advantages of EJB.
rgds
george
 
Jojo Khanna
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks George for the solution.
 
dragon_fly
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by George Toronto:
Hi, jojo
Good question. why did noman answer it?
Why do we use EJB technologies is on 7 ways. I answer it by asking you questions.
1) Do you need to isolate bix-logic components from the public internet? ya, most do it. that guarantee the separation between presentation and biz-logic. Although direct JDBC calls from servlets should improve the performance.
2)Do you need to have more than one client type access shared data? one app can be accessed by muti-client, and they maybe access the same information. For example, External user and INterval user(staff) check same account information etc. EJB can solve this by controling the access to back-end data's transaction and DB locking integraty.
3)Do you need concurrently read or upddate access to shared data?
4)Do you need to access multiple disparate data sources with transaction capabilities?
5)Do you need method-level object security seamlessly integrated with sercurity for HTML documents,servlets,JSP files and Client login?
6) Is there an architectureal push toward a standard, portable, component-based architecture?
7)Do you need multiple servers to handle the thoughout or availiblilty needs of the system?
The above is the advantages of EJB.
rgds
george

Hi George,
I read your explanatory questions...??
I hope Jojo was convinced, since i was not
Can u elaborate on
method level object securities
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!