Skip to main content
0 online
deanh77 Sep 26, 2006

ian, can you maybe make it optional for a new thread to show up on the front page? on a related note, I'm at the www.springforward2006.com conference. it's pretty sweet. just heard a talk from s...

iwz iwz

Java Persistence API sounds pretty cool. Seems like they're taking a lot of good ideas from Hibernate and similar tools. How does JPA relate to EJB?

G
gizmoEst. 2006

I thought EJBs *were* the Sun answer to persistance? Why do they feel the need to have another API?

iwz iwz

because it turned out that EJBs sucked. the open source community came up with much better alternatives. and EJB 3.0 is pretty much a complete overhaul of the API.

yay yayOG 2004

.NET is sun's answer to java

deanh77 deanh77Founder

*Entity* EJBs were the "Sun answer to persistance". But no one in their right mind would use them, way to messy. So that's why they came out with EJB 3.0 I guess, but I don't know if EJB 3.0 is any better.

EJBs in general should be avoided if at all possible.

deanh77 deanh77Founder

EJB 3.0 uses JPA for entity persistence/ORM. like a total rework of the whole Entity Bean stuff. Now they are just breaking it out into its own seperate API so you can use it outside of EJBs

I don't know if I'd ever use it, but it was interesting. using annotations like @OneToMany makes me think it wants to be ActiveRecord :)

Welcome Back to eZabel

It's been a while. Here's what's new.

eZabel Lore

A complete history of our community — stats, Hall of Fame, legendary threads, and more.

View the Lore →

Everything Preserved

All 225,969 pieces of content from 2000–2014 are here — forums, messages, journals, photos, polls, and events.

💎

Gems

Spot something you love — a legendary comment, a classic thread, a great photo? Log in and click the diamond icon to mark it as a Gem. Add a note about why it's special. The best stuff surfaces on the Gems page.