ItBuzzPress is a new publisher of professional, high quality books about WildFly and Jakarta EE Technology.
Our goal is to deliver the latest buzz in technology in easy steps, with a non academic language, enabling the most up-to-date information to be at your fingertips.
Looking up a Java EE resource from an application which is running on WLS can be achieved using the standard Java EE API. For example, here’s how you can lookup the Oracle data source we have defined in the data source chapter:
Things are a bit different if we need to look up a server resource (e.g. an EJB) from a remote endpoint:
Remote resource lookup
Looking up a remote resource from WLS requires using WLS Initial Context classes; therefore it’s a part of your application which will need some refactoring if you are moving from or to Oracle WLS. Here’s how you can look up the Oracle data source from a remote client:
Hashtable<String, String> h = new Hashtable<String, String>();
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.