Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EE 5/Persistence API - POJO for persistence

 
Aurelio Calegari
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • 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
 
Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • Mark post as helpful
  • send pies
  • 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
  • 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?
 
Artur Jot
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Aurelio,

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

BR
Artur
 
Lars Behnke
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hey Lars,

Thanks for the input!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic