Weblogic / JDeveloper: Creating the base application

Open JDeveloper with “Default role” option, to activare al environment features. We are interested in JEE and database development features.

File > New > Java EE Web Application, then we are creating the new application estructure:

Creating app

Put the name “HRApplication”, and it creates two projects on the app:

  • ViewController: contains the view of our application, which corresponds with ADF technology based on JSF standard.
  • Model: contains EJB session beand and JPA entities.

To create a database connection go to the “Database Navigator” tab, and with right buton> New, introduce the connection configuration:

Creating db connection

Drag and drop the connection to our application:

Adding HR connection to our application

Then we are ready to start modeling and programming.

Weblogic / JDeveloper: Creando la aplicación base

Abrimos JDeveloper con al opción “Default role”, para que active todas las características del entorno. A nosotros nos interesan las de JEE Development y las de base de datos.

File > New > Java EE Web Appliation, con lo que creamos una nueva estructura de aplicación:

Creating app

Llamamos a la aplicación HRApplication, y nos va a crear dos projectos dentro de ella:

  • ViewController: que contendrá la capa de vista de nuestra applicación, correspondiente con la tecnología ADF basada en el estandar JSF.
  • Model: contendrá los beans EJB y las entidades JPA

Para crear la conexión a la BBDD en la pestaña Database Navigator con botón derecho > New, introducimos los datos:

Creating db connection

Y arrastramos la conexión a nuestra aplicación:

Adding HR connection to our application

Con esto tenemos la aplicación para empezar a modelarla y a construirla.

JDeveloper Architecture with Weblogic

Seems obvious that the best tool to develop Weblogic/OracleDB is JDeveloper. But for me, until now, it was not so obvious, because Eclipse is my favorite IDE, it is the standard for Java development (Jboss, Spring, Android,…).

If your architecture is Oracle/Weblogic, have no fear to change, and your obsesion is to increase your productivity, then, your tool is JDeveloper. I am gonna write some posts trying to demonstrate this point. But if you want an advancement, you can see this video, you will see howcan be really ssimple make RIA applications over complex enterprise environments.

Continue reading JDeveloper Architecture with Weblogic