Sep 10, 10 by Juan Lebrijo about weblogic, JDeveloper, blog
In Cloud Computing the way to deploy our applications is through an eclipse plug-in. We can feel this effect with JDeveloper, adding a remote WebLogic server, it is out of your local machine (at Amazon WS for example).
This can be useful for:
Implement an agile development environment (RAD).
Deploy for testing out of your machine becouse local use to be slower.
As I comment, for Oracle Cloud Development Style.
Having apps layer separated, as Ilike(scalability, performance).
In JDeveloper > New > Connection > Application Server Connection, I named WeblogicRemote. The wizard asks for the password and network configuration:
app_server_conf.png82.8 KB
Finally have the possibility to test the configuration, with success if you do it ok. You can see at Application Servers Window yours:
app_server_win.png17.9 KB
You can make a simple Web Application with an index.jsp with a Hello World !!!, to test. In the top menu Application > Deploy . You must select the last created connection, and the server in you WebLogic where you want to deploy:
deploy.png110 KB
Then we have our application at: http://192.168.0.8:7001/Application1-ViewController-context-root/faces/index.jsp
Do nor scare for the URL, that is where we deploy our view (/Application1-ViewController-context-root/), this name can be change at the project ViewControler > Properties > Java EE Web Context Root
Sep 10, 10 by Juan Lebrijo about weblogic, JDeveloper, blog
En Cloud Colmputing la manera que tenemos de desplegar nuestra aplicaciones es a través de un plugin de Eclipse que despliega remotamente las aplicaciones. Este efecto lo podemos obtener con JDeveloper, añadiéndole un servidor Weblogic remoto, que esté un una máquina aparte a la tuya (en Amazon WS por ejemplo).
Esto puede ser muy útil para:
Montar un entorno de desarrollo ágil (RAD).
Desplegar las pruebas fuera de tu máquina local que suele ser muy lenta.
Como comentaba, para un Cloud Development Style con Oracle.
Para tener las aplicaciones separadas en capas, cada capa una máquina como a mi me gusta (escalabilidad, rendimiento).
En JDeveloper > New > Connection > Application Server Connection, yo la llamaré WeblogicRemote. El configurador te pedira contraseña y los datos de red:
app_server_conf.png82.8 KB
Y finalmente te ofrecerá un test a realizar que pasará si los datos anteriores se han configurado bien. Podéis ver en la ventana de los Servidores de aplicaciones el vuestro:
app_server_win.png17.9 KB
Podeis crear una Aplicación Web sencilla que tenga un index.jsp con un Hello World !!!, para probar. En el menú superior Application > Deploy . Teneis que seleccionar la conexión creada antes, y el servidor dentro de vuestro Weblogic sobre el que queréis desplegar:
deploy.png110 KB
De esta forma tenemos nuestra aplicación en: http://192.168.0.8:7001/Application1-ViewController-context-root/faces/index.jsp
Que no se asuste nadie por la URL, por que es donde se despliega nuestra vista (/Application1-ViewController-context-root/), este nombre se puede cambiar en el proyecto ViewControler > Properties > Java EE Web Context Root
Sep 05, 10 by Juan Lebrijo about weblogic, JDeveloper, blog
After explore diferent ways, trying to cover the business layer with Spring/Eclipse and after that with EJB 3. If you want to develop with Oracle ADF framework, our best choice is ADFbc (business components). The reason, simple, it is better integrated with top layers (data controls and view) than EJB, this is the reference solution of the company (Oracle).
Finally I choose the Oracle Development full stack, it is the best integrated, and then the most productive:
adfsimple.gif43.4 KB
To create the application in JDeveloper select File > New > Applications > Fusion Web Application (ADF). We call it HRApplication2:
create_app.png173 KB
As in the case of Java Web generic Application, it will create tw projects:
ViewController: contains the wiew layer of our application, ADF.
Model: contains XML with our entities and relations in ADFbc.
To create a database connection go to the "Database Navigator" tab, and with right buton> New, introduce the connection configuration:
db-connection.png31.2 KB
Drag and drop the connection to our application:
drag_drop_hr.png17.9 KB
Then we are ready to start modeling and programming.