Tom,
I can't tell what you have in mind, but I would urge you to look at how
JDBC works in conjunction with the EJB container to provide
connectivity. I am not talking about the JDBC APIs or SQL, but
rather how connection pools are managed in the server environment
and how things like security and transactions are handled.
Calling out to a backend directly from an EJB is generally not a good idea.
Jim
Jim Rhyne, STSM, Component Broker Tool Architect
[EMAIL PROTECTED], 416 448 4383
IBM Canada Ltd. 2G/846/1150/TOR
1150 Eglinton Ave. E., Toronto, Ont. M3C 1H7 CANADA
Tom Valesky <[EMAIL PROTECTED]> on 04/23/99 03:16:53 AM
Please respond to A mailing list for Enterprise JavaBeans development
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Jim Rhyne/Somers/IBM)
Subject: EJB and native methods; also, restrictions in spec
Can an EJBean have native methods?
I can't find an explicit prohibition in the spec, but it seems like
allowing
a bean to call native methods would open a rather large can of worms.
On the other hand, I can see a couple of situations where it'd be handy
to have this option (mainly in the MIS development environment, where
you sometimes have to build interfaces to _truly_ oddball legacy
systems).
PS re: restrictions -- Section 16.4 says "this is only a partial list of
restrictions that the enterprise developer must observe." Are there
plans to release a canonical, complete, and exhaustive list of restrictions
that EJB developers must observe?
===========================================================================
Tom Valesky -- [EMAIL PROTECTED]
http://www.patriot.net/users/tvalesky
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".