• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

EE 5/Persistence API - POJO for persistence

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Ranchers

I'm working on my project assignment for Part II and I'm really tempted to work with the light-weighted Entities (POJO) that comes with EE 5.

The thing is: They say in the assignment it must be a J2EE.

When someone says such a thing the first thing that comes to my mind is a lot of EJBs (Session Beans playing with Entity Beans), servlets and JSP. But my thought is that we can throw Entity Beans away. It was not updated for EJB 3.0 and they came up with the wonderful annotations approach and the light-weighted Entity (Java Persistence API 1.0).

So, my thought is that when they stop improving things it might be deprecated in the near future... How long Entity Beans will last?

What about a project with Entities instead of Entity Beans? What are your thoughts?

Thanks
 
Ranch Hand
Posts: 1906
3
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My suspicion and understanding given the instructions - and you might email them to confirm - is that you can probably use Java EE 5 for the assignment. It's just a renaming (J2EE -> Java EE) and I don't think that's a matter of consequence which version you use, so long as it's a released version and not a beta, etc.

But as I mentioned, it's probably better to ask first.
 
Aurelio Calegari
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Theodore,

Thanks for the advice! I have sent them an email and it might take a few days to get an answer, but once I get that I'll post here, because that might be a question many people might ask and I didn't find here so far.

Thanks again. Does anybody else has an idea/thought/suggestion?
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Aurelio,

I did my project using JEE, of course you can use enities

BR
Artur
 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's perfectly OK to create an architecture based on JEE 5 (JPA, JSF etc.). I did so and passed with 96%.

Lars
 
Aurelio Calegari
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Lars,

Thanks for the input!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic