Edwin Biemond
About Java, JDeveloper, OEPE and Oracle OSB & SOA suiteEdwin Biemondhttp://www.blogger.com/profile/02338716126881111629noreply@blogger.comBlogger314125
Updated: 8 hours 44 min ago
Test your WebLogic 12.1.3 enviroment with Robot
Robot Framework is a generic test automation framework which has an easy-to-use tabular test data syntax and it utilizes the keyword-driven testing approach. This means we can write our tests in readable and understandable text.
If we combine this with the REST Management interface of WebLogic 12.1.3 we are able to test every detail of a WebLogic domain configuration and when we combine this
Categories: Development, Fusion Middleware
Create with WLST a SOA Suite, Service Bus 12.1.3 Domain
When you want to create a 12.1.3 SOA Suite, Service Bus Domain, you have to use the WebLogic config.sh utility. The 12.1.3 config utility is a big improvement when you compare this to WebLogic 11g. With this I can create some complex cluster configuration without any after configuration.
But if you want to automate the domain creation and use it in your own (provisioning) tool/script then you
Categories: Development, Fusion Middleware
Test your Application with the WebLogic Maven plugin
In this blogpost I will show you how easy it is to add some unit tests to your application when you use Maven together with the 12.1.3 Oracle software ( like WebLogic , JDeveloper or Eclipse OEPE).
To demonstrate this, I will create a RESTful Person Service in JDeveloper 12.1.3 which will use the Maven project layout.
We will do the following:
Create a Project and Application based on a Maven
Categories: Development, Fusion Middleware
Maven support for 12.1.3 Service Bus & SOA Suite artifacts
With the 12.1.3 release of Oracle Service Bus and Oracle SOA Suite we finally can build all our soa projects with Maven. And this time we can do it natively without calling a utility like configjar or ANT from Maven .
We start by setting all the required variables like JAVA_HOME,M2_HOME and PATH
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre
export M2_HOME=
Categories: Development, Fusion Middleware
Configure Coherence HotCache
Coherence can really accelerate and improve your application because it's fast, high available, easy to setup and it's scalable. But when you even use it together with the JCache framework of Java 8 or the new Coherence Adapter in Oracle SOA Suite and OSB 12c it will even be more easier to use Coherence as your main HA Cache.
Before Coherence 12.1.2 when you want to use Coherence together with
Categories: Development, Fusion Middleware
REST, SSE or WebSockets on WebLogic 10.3.6
WebLogic 10.3.6 comes with Jersey1.9 and has no support for Server Side Events or WebSockets. But for one of our projects we are making a HTML5 / AngularJS application, which need to invoke some RESTful services and we also want to use of SSE or WebSockets.
Off course we can use WebLogic 12.1.2 but we already have an OSB / SOA Suite WebLogic 10.3.6 environment.
So when you want to pimp your
Categories: Development, Fusion Middleware
new Puppet 3 Weblogic provisioning module
The last few weeks I was busy re-writing of my puppet WLS module so it fully supports the power of Puppet 3 (thanks for more than 4000 downloads on puppet forge and all the github downloads).
With Puppet 3 we now can use Hiera, Iterations and Lambdas expression. This does not sound like a big change but with Hiera and the new Puppet Language features, I can define big WebLogic Domains without
Categories: Development, Fusion Middleware
Creating your own Virtualbox Development Images
For my Oracle Puppet provisioning development I can't do without these create image tools: Packer and Vagrant in combination with Oracle VirtualBox or VMware. In this blogpost I will explain what these tools can do for you and how you can make your own images and use puppet as provisioning tool.
With Vagrant you can create your own virtual images and it can start puppet or chef to do all the
Categories: Development, Fusion Middleware
The road ahead for WebLogic 12c
Before we can describe all the new features of WebLogic 12.1.3 & 12.1.4 and compare this to the 12.1.2 version we should first take a look at the 10.3.6 version. WebLogic 10.3.6 is still the latest 11g version but Oracle will support 10.3.6 till 2018 and extended support till 2021. So Oracle’s Fusion Apps and we have enough time to migrate to WebLogic 12.1.X. Oracle also promised that the upgrade
Categories: Development, Fusion Middleware
Custom Jersey WADL generation
I had a situation where the auto generated WADL did not match with my Rest services.
The first difference was that the response is presented as an object instead of a collection of objects and the second one is that it could not handle JSONWithPadding as response. Because I use this WADL in my Rest client generation, I need to fix these issues.
Lucky for me, Jersey JAX-RS allows us to provide
Categories: Development, Fusion Middleware
Coherence 12.1.2 Rest application build with OEPE
With WebLogic 12.1.2 Oracle also released a new version of Coherence and OEPE. The 12.1.2 release contains many new Coherence features like WebLogic Managed Coherence Servers and Coherence Grid Archive ( GAR ) which can be included in an normal EAR. Coherence also has some nice new REST features like direct & named queries, Custom Query engines and new Security options.
Plus with OEPE you can
Categories: Development, Fusion Middleware
JAX-WS SOAP over JMS
With WebLogic 12.1.2 Oracle now also supports JAX-WS SOAP over JMS. Before 12.1.2 we had to use JAX-RPC and without any JDeveloper support. We need to use ANT to generate all the web service code. See this blogpost for all the details.
In this blogpost I will show you all the necessary JDeveloper steps to create a SOAP over JMS JAX-WS Web Service ( Bottom up approach) and generate a Web
Categories: Development, Fusion Middleware
Maven support in WebLogic & JDeveloper 12.1.2
In the 12.1.2 release of JDeveloper and WebLogic, Oracle really improved the support for Maven as build and provisioning tool. Oracle did this on multiple levels:
an Utility to synchronize all the Oracle Middleware jars to a local ( .m2/repository) or a shared repository like nexus or artifactory
ojmake maven plugin for just building JDeveloper projects.
Updated its Weblogic plugin for
Categories: Development, Fusion Middleware
JDeveloper 12.1.2 EJB & Java Service Facade Datacontrol
With JDeveloper 12c (12.1.2) Oracle added some great updates to the ADF EJB / Java Facade Datacontrol. Oracle already added the Java Facade and Named Criteria support in its previous versions of JDeveloper but now also added the so wanted List of Values feature, just like we have in ADF BC.
In the the next part I will show you all the new features and some LOV bugs ( not everything is
Categories: Development, Fusion Middleware
Custom OSB Reporting Provider
With the OSB Report Action we can add some tracing and logging to an OSB Proxy, this works OK especially when you add some Report keys for single Proxy projects but when you have projects with many Proxies who are invoking other JMS or Local Proxies than the default reporting tables (WLI_QS_REPORT_DATA, WLI_QS_REPORT_ATTRIBUTE ) in the SOA Suite soainfra schema is not so handy.
I want to
Categories: Development, Fusion Middleware
Build and Deploy OSB projects with Maven
2 years ago I already did the same with ANT and now I migrated these scripts to Maven. These Maven poms can still do the same like my ANT scripts.
Build and deploy an OSB OEPE workplace
Build one OSB project.
Export OSB projects from an OSB server and generate a customization plan.
Here you can find my code https://github.com/biemond/soa_tools/tree/master/maven_osb_ps5 or the PS6 version https:
Categories: Development, Fusion Middleware
Offline Oracle Service Bus Configuration export
With Oracle Service Bus PS6 or 11.1.1.7 we finally have an new offline build tool with does not require Eclipse (OEPE). With this OSB configjar tool ( located in the OSB home /tools/configjar/ folder ) you can make OSB export sbconfig jar based on 1 or more OSB projects or even with more then one OSB Configuration projects. Plus have total control what to include or exclude.
In this blogpost I
Categories: Development, Fusion Middleware
Token Configurations in Oracle SOA Suite PS6 ( 11.1.1.7.0)
Oracle Soa Suite PatchSet 6 or 11.1.1.7.0 now has support for Token configurations which really can help administrators in configuring or overriding external Web Service Reference parameters like the protocol ( http, oramds or https ), the remote host etc. And more important if you do it right you can kick out the all those Soa Suite deployment plans :-)
Important to know this only works on
Categories: Development, Fusion Middleware
Testing Activiti BPM on WebLogic 12c
Activiti is a great open source workflow + BPM platform, which you can use in your own java application (embedded) or test it in the provided Rest or Web demo applications. Activiti also provides an Eclipse designer plugin which you can use to create your own BPMN 2.0 definitions and export this to the Activiti applications.
In blogpost I will show you the steps how to get this working on the
Categories: Development, Fusion Middleware
Active Directory user management with the IdentityStore framework of FMW
With the IdentityStore framework of Fusion Middleware you can change or create any user or role in almost every LDAP server. With this framework the authenticated user change their own password from ADF or in your own ADF Admin page you can create an user with its roles without knowing LDAP or know what LDAP server is used.
IdentityStore framework will automatically detect the configured
Categories: Development, Fusion Middleware