• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Approach to Part2

 
srivastava ashish
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys ,

Got my assigment yesterday...Problem statment does not require any transaction and security so i am bypassing EJB and proposing a Web Based Solution.The only thing is i am planning to use JPA for my CRUD operations although the DB operation are pretty simple .Wanted to use JPA for the ease of development...Any issues with this approach??

Moderator:- Tried my best to keep it Abstract but you can go trigger happy if this is too direct.



Ashish
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33691
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No security at all? Are you sure that it wasn't implied? It's possible of course, just surprising.
 
srivastava ashish
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Security required is like login kind of but since it requires more focus on UI than business so i believe don't require EJB kind of security
 
k space
Ranch Hand
Posts: 104
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
srivastava ashish wrote:
Problem statment does not require any transaction and security so i am bypassing EJB and proposing a Web Based Solution.


Make sure you fully understand the requirements. In real life projects, it is common to have Web + DB. However, I doubt that in the SCEA exam it will require only these two tiers, i.e. no EJB tier. In JEE architecture, EJB is commonly used to handle the business logic.
 
srivastava ashish
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well...there are few reasons why i don't want to go for EJB :-

1)No money or payment involved in the workflow (as per problem statement)
2)Number of Concurrent user is very less.
3)The whole problem statement emphasizes user experience on presentation logic
4)Business logic is controlled by an external webservice.

My solution has LDAP for authentication and authorization .Database to store customer preference.An external system to generate rich UI output(provided by the problem statement).An external system to manage business logic.


Need some advice if for SCEA using EJB is an advantage.

 
Rajiv Shr
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the complete business logic is being provided by an external system, and the assignment only wants you to focus on presentation, then I dont really see a need of using EJBs. You may still want to consider some other performance and scalibility aspects in your design. For example, besides transactions, EJBs (Stateless Session Beans) are useful as pooled resources. Object pooling is very useful to design and develop scalable real world applications. Companies that dont use EJBs may use some other framework like Spring to provide similar functionality.
 
srivastava ashish
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Rajiv ..My initial idea was to use Spring for resource purpose but now i have decided to follow the JEE and use EJB.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic