Menu

#3 Non-EJB persistence interface

open
nobody
5
2002-08-04
2002-08-04
No

Define a persistence interface and have a second
non-EJB implementation. The implementation would be a
direct JDBC database connection. This implementation
has limitations (i.e. you have to re-implement the good
stuff that comes with EJB like pooling,
multi-threading, transactional support, etc.), but it
opens the possibility to hosting in an environment
without an EJB container (i.e. most commercial hosting
companies).

I was looking through the source, and I think this can
be done fairly cleanly.

P.S. I'm willing to implement this interface if you
want help.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB