Search code examples
modelwarviewcontrollerjdeveloper

Generate War Java EE Aplication Web Jdeveloper


I have a Java EE web application on JDeveloper 12.1.2. On this application JDeveloper assistant create two different projects. One for data layer call Model an another one for web layer(View and logic business layer). When I want generate war I only can generate war of one of them and I want create a war which contains both project and deploy this project on my server.

Anyone knows how can I do that?


Solution

  • In the view project properties set the dependency to be on the model project. Then when you create a WAR from the view it will include the JAR from the model.