Did anyone did NOT use EJB and passed part 2? If yes, can you describe your assignment's requirements?
I don't have a real need to use EJBs (except for declarative transaction management) for my assignment but I am still planning to use it, because it is the core part of JEE and the evaluator might be expecting people to use it.
Joined: Sep 08, 2008
Let me rephrase it, is it a good idea not to use EJB in part-2. My application does not need to be scalable and has minimum transactional requirements. So, I am planning on going with just web only design.
Your application does not need to be scalable? Oh, I'd love to sit on an architecture review board and hear an application designer tell me that they just designed something that was intentionally not scalable. That would really, really be fun!
I think that Sun wants to see your ability to properly apply JEE5 components, and that includes EJBs, JPA decorated entities, and JEE5 web components. I'd really, really wonder about my project if I was submitting it to Sun and not using a single EJB.
Joined: Sep 08, 2008
You have hit the nail on the head. Thanks Cameron!
I guess I got misguided with the requirements list which clearly says that the expected user load is very low. In real world I would compare scalability with cost. However for SCEA I think EJBs are required.
hmmm...this is surprising... I am preparing for Part I and almost all the mock exams give the answer that EJBs are not needed if it is explicitly mentioned load is low and the app doesn't involve transactions. After attending the mock exams, I have trained myself to think that way...and now...I am surprised you said we would have to use EJB even though its specifically said the load is low.
That was what I was thinking too. However EJB used be the core component of J2EE and still is (to a certain extent). In real world it might not be needed but I think it's a good idea to use it in a Sun's exam. Co-located EJBs would not increase maintainability and would also keep the system scalable.
I don't know if I answered your question, but I hope you understand that I am not thrilled to use EJBs. At the same time I haven't come across a thread where someone has passed part 2 without using EJBs.
I am not SCEA (infact preparing for first part), but I feel SUN should give the requirements that match JEE. If I see a statement like "Load is low", obviously I dont tend to think using EJBs, instead of will go with something else. I see lots of different assignments being talked these days in the forum. Hope those requirements are at enterprise level (I mean to say the requirement should force to think the designer to use specific technology, that is where the actual usage of SCEA comes into the picture.). Thanks Srinivas Ivauti.
Cameron Wallace McKenzie
author and cow tipper