Thursday Dec 24, 2015

Create a SOA Application in JDeveloper 12c Using Maven SOA Plug-In by Daniel Rodriguez

clip_image002Maven is a commonly used build system for java projects. It provide benefits ranging from standardizing project layouts, to automated dependency fetching, to automated builds and Maven.  Oracle provides a pretty comprehensive document outlining how to build and create Oracle SOA and BPM projects using Maven. See this article that documents some simple steps to get up and running using Maven. However, when running my first Maven project I encountered some unexpected errors. Maven could not find any SOA archetypes and was also unable to load every dependency. As I found, being able to create, build, and deploy SOA and BPM projects using Maven requires some initial pre-work. Once the set-up is done, the Oracle doc mentioned above will make more sense and will execute successfully.

Why Maven in SOA Applications?

Unlike Ant, Maven does not require developers to specify every command to achieve a goal. Moreover, Maven’s structure in the form of a POM file allows dependencies to be managed easily. However, the biggest benefit is that Maven in JDeveloper provides complete a life-cycle process. Each goal incorporates the previous one and adds functionality. For example, if we run the mvn test command, it will execute the compile, package and deploy commands before running each test on the composite. The idea is to provide a foundation for continuous development and integration. A single command can compile, package, deploy and run all test cases: saving you time.

Gradle provides much of the same functionality of Maven but on a different format. It is implemented using Groovy and, as a result, some of its scripts are much shorter than Maven’s. Unfortunately, Gradle is not native to JDeveloper at this moment.

Maven Goals

Documentation lists five goals for the SOA Maven Plug-in. However, The plug-in itself lists six goals.

  1. compile: Compiles the Application
  2. package: Creates a SAR file of the composite
  3. deploy: Deploys the SOA composite
  4. test: Runs all test created for the SOA composite
  5. undeploy: Removes the composite
  6. help: Provides a list of goals and their corresponding commands.

The help goal is the only goal not listed in the actual Oracle document but displayed on the plug-in itself. While the “help” command may not be a “Goal”, It provides useful information regarding goals, commands, and what each command tries to achieve. Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Sunday Dec 07, 2014

SOA 12c End-to-end (e2e) Tutorial: Error deploying ValidatePayment by Daniel Dias

clip_image001

SOA 12c End-to-end (e2e) Tutorial:

During this tutorial you may have problems deploying the application ValidatePayment (Page 74 of the tutorial). This error occurs when your Oracle Service Bus and Oracle Business Process Manager are on the same domain.

ERROR:

WSDL Errors Can Occur When Oracle Service Bus and Oracle Business Process Manager Are on the Same Domain

Bug: 18856204
Added: 10-June-2014
Platform: All

If Oracle Service Bus is installed on the same domain as Oracle Business Process Manager (BPM), the following error can occur when creating a WSDL file:

The WSDL is not semantically valid: Failed to read wsdl file from url due to — java.net.MalformedURLException: Unknown protocol: servicebus.

WORKAROUND:

1. Log in to the WLS Administration Console

2. On the navigation tree on the left, expand services and click OSGI Frameworks

Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Technorati Tags: ,,,,,

Wednesday May 22, 2013

Geschäftsprozesse automatisieren mit BPEL by Daniel Lübke, Jörg Nitzsche Tammo van Lessen

For all German readers, Daniel and Tammo published a wonderful introduction the BPEL language “Geschäftsprozesse automatisieren mit BPEL“. The book helps you to understand the foundation of the BPEL language. Make sure you read this book before you start your SOA Suite project.

If you published a book feel free to add it to our publications wiki!

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki Mix Forum

About





Search

Archives
« June 2016
SunMonTueWedThuFriSat
   
30
  
       
Today