Re: How to find out the type of application Server at Runtime
Alex Paransky <[email protected]> Tue, 6 Apr 2004 21:17:45 -0700
| Newsgroups | gmane.comp.java.sun.ejb.general |
|---|---|
| Message-ID | <[email protected]> |
You could always find some vendor specific class and try
Class.forName("vendorClass"). If you get an exception this would mean
that it's not the vendor you are checking....
--
-AP_
http://www.myprofiles.com/member/profile/apara_personal
http://www.myprofiles.com/member/profile/apara_business
Chester Chen wrote:
>Hi,
> Is there a way to find out the type of application server
>for example: Weblogic, JBOSS or Web Server, at runtime from code ?
>
> Some sort of Application Server Metadata will help.
>
> I am adding LOB support for Application Server. As the
>weblogic needs special JDBC Oralce extension for Oralce Thin driver (for
>retrieving LOB) , I need
>to cast the proper class at run time for different application Servers.
>
> Any suggestions ?
>
> Also, an related question: Does JBOSS or WebSphere need JDBC extensions
>for Oracle Thin Driver ?
> Some example or some pointers are appreciated
>
>
>Thanks
>
>Chester
>
>===========================================================================
>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".
>
>
>
--
-AP_
http://www.myprofiles.com/member/profile/apara_personal
http://www.myprofiles.com/member/profile/apara_business
===========================================================================
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".