aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Approach to Part2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Approach to Part2" Watch "Approach to Part2" New topic
Author

Approach to Part2

srivastava ashish
Greenhorn

Joined: Apr 12, 2010
Posts: 28
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

No security at all? Are you sure that it wasn't implied? It's possible of course, just surprising.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
srivastava ashish
Greenhorn

Joined: Apr 12, 2010
Posts: 28
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

Joined: Jun 25, 2002
Posts: 104
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.

SCEA | SCBCD | SCWCD | SCJP - The kSpace
srivastava ashish
Greenhorn

Joined: Apr 12, 2010
Posts: 28
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

Joined: Aug 11, 2010
Posts: 37
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

Joined: Apr 12, 2010
Posts: 28
Thanks Rajiv ..My initial idea was to use Spring for resource purpose but now i have decided to follow the JEE and use EJB.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Approach to Part2