Skip to main content

Posts

Showing posts with the label EJB

JDeveloper, Weblogic: java.io.IOException: Empty server reply; No available router to destination

When trying to call a remote ejb (java client) with weblogic on another box I get the following error: java.net.ConnectException: t3://SERVER:7001: Destination unreachable; nested exception is: java.io.IOException: Empty server reply; No available router to destination The solution: I just unchecked use HTTP proxy checkbox in my jdev Tools > Preferences > Web Browser And Proxy and the code work - before you make yourself mad just make sure you call is not trying to go to your web proxy. There are many other reasons for this but hopefully this will help someone ...

JDeveloper: JEE Web Application

I had to throw together a quick demo of the JDeveloper JEE functionality and was pleasantly surprised what Jdeveloper give you for free. Will be posting some of what I have found. Create a New JEE Web Application and press OK button Fill in your info here  replacing ProjectName with your project Name: App Package prefix: eg: za.co.test Next * 5 Finish Now on to creating an EJB Entity: Select Entities from Tables and click ok As we are creating the first ejb in the app you can click next on the persistance unit screen. I am going to select the  countries and regions tables from the HR schema by selecting them and clicking the blue arrow after querying all the tables. Next. Next Select Discover foriegn keys dynamically. Next * 3 but take note of the info in the screens. (You can change the class and package names etc) Finish Now take note of the java classes created complete with annotaions and relationships very nifty. ...