• 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 in part2

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Thanks!
 
Cory Chen
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Please help!
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need you need to use it since this is a Sun's certification
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

-Cameron McKenzie
 
Cory Chen
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Thanks!
 
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Thanks!
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
EJB is must in SCEA.

In real worl, it may not be required. but for SCEA it is.
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm curious, do you consider JPA decorated entities as EJBs?

What would you use for persistence other than JPA decorated entities? Straight JDBC?

-Cameron McKenzie
reply
    Bookmark Topic Watch Topic
  • New Topic