Need to debug your application? With NetBeans 8.1 (dev) and WebLogic it's very easy to do.
First start your WebLogic server in debug mode. The startup scripts generated for a domain provide an option to start the server in debug mode.
To run in debug mode, set the environment variable "debugFlag" to a value of "true" and start the server.
$ export debugFlag="true"
This launches the server with (more...)
Stoked thatNetBeans 8.1 will have support for deployment to remote WebLogic Server instances.
WebLogic 12.1.3 provides a fully documented REST Management Interface that enables deployment and management operations to be performed using REST calls.
The table of contents from the documentation lists the set of operations available:
To use the REST Management Interface, it first must be enabled for a domain. This can be done from the WebLogic Console.Domain > Configuration > General [Advanced] > Enable RESTful Management Services
To deploy (more...)
team have announced the release of Nexus 2.1.1
which is a minor update that now works with the Oracle Maven Repository.
I was going to write a bit up about it but Manfred Moser from Sonatype has already put together a blog and video on it:
With the new Nexus 2.11.2 release we are supporting the authentication mechanism used for the Oracle Maven repository in both Nexus OSS and (more...)
The JFrog team announced this week the release of Artifactory 3.5.1
, which is a minor update that now works with the Oracle Maven Repository.http://www.jfrog.com/confluence/display/RTF/Artifactory+3.5.1
I spent a little while yesterday having a look at it, working through the configuration of a remote repository and testing it with a maven project to see how it worked.
Once I'd downloaded it and started it up -- much love for (more...)
With the Oracle Maven Repository now accessible one way to have a explore its contetns us to use the Maven Repositories viewer feature available in most development tools. I've seen the repository contents displayed easily in NetBeans so I decided to take a look at what it looks like in Eclipse as well.
I had to make a few minor setting changes to get it to work so decided to document them here. If (more...)
project is proving to be very popular for testing code and applications. It's particularly useful for Java EE projects since it allows for in-container testing to be performed, enabling unit tests to use dependency injection and all the common services provided by the Java EE platform.
Arquillian uses the concept of container adapters to allow it to execute test code with a specific test environment. For the Java EE area, most (more...)
The inimitable Bruno Borges picked up tweet earlier today commenting on a problem using @Produces with non-CDI libraries with WebLogic Server 12.1.3.
The tweeter put his example up on a github repository to share - quite a nice example of using JAX-RS, CDI integration and of using Arquillian to verify it works correctly. Ticked a couple of boxes for what I've been looking at lately
Forking his project to have a look (more...)
The WebLogic Server 12.1.3 EJB Developers Guide was recently updated to note that the embedded EJB container can be used by adding a reference to weblogic.jar to the CLASSPATH when the EJB client is being executed.https://docs.oracle.com/middleware/1213/wls/EJBAD/embedejb.htm#EJBAD1403
This is very convenient since it enables the WebLogic Server embedded EJB container to used by simply adding weblogic.jar to the classpath when running the client:
Or for example if you (more...)
I've seen a question or two in recent days on how to configure the weblogic maven plugin.
The official documentation
is extensive ... but could be considered TL;DR
for a quick bootstrapping on how to use it.
As a late friday afternoon exercise I just pushed out an example of a very simple project that uses the weblogic-maven-plugin to deploy a web module. It's almost the simplest configuration that can be done of the plugin (more...)
We've just pushed out an update to the WebLogic Server 12.1.3 Developer Zip distribution containing the bug fixes from a recent PSU (patch set update).
This is great for developers since it maintains the high quality of the developer zip distribution and the convenience it provides - avoids reverting to the generic installer to then enable the application of patch set updates. For development use only.
Download it from OTN:http://www.oracle. (more...)
Oracle Maven Repository Is Live
The Oracle Maven Repository is live and available for public access to the public APIs, libraries, utilities and archetypes that are shipped as part of the Oracle WebLogic Server 12.1.2 and 12.1.3 releases, including corresponding Coherence versions.** The repository also publishes the same from the ADF, SOA, OSB and other Fusion Middleware options. Oracle Maven Repository http://maven.oracle.comUsing the Oracle (more...)
Mostly a reminder to self but thought I'd post the link in case anyone else is looking for this. More pointers the merrier.
Simple, straight forward steps to synchronise a forked repository with its upstream repository and keep it up to date.https://help.github.com/articles/syncing-a-fork
Syncing a fork
Sync a fork of a repository to keep it up-to-date with the upstream repository.
Following these simple steps enables a forked repository to be easily (more...)
Oracle Maven Repository Very
The Oracle Maven Repository
has just gone live and is now available for public access, loaded with WebLogic Server artifacts from the 12.1.2 and 12.1.3 releases.
Want free and easy access to WebLogic Server APIs, libraries and plugins - just have at it!http://maven.oracle.comhttps://blogs.oracle.com/WebLogicServer/entry/weblogic_server_and_the_oracle
I'm about to embark on a journey that explores the use of WebLogic Server within a DevOps regime. My first port of call for this journey will be using Chef.
A loose travel itinerary is:
- Setting up an environment to explore the basic operations of Chef - using the Chef Development Kit (ChefDK)
- Exploring the basics of how Chef works to install Java and WebLogic Server on a single node
- Installing and examining some (more...)
Quite recently, I stumbled across this older but still very relevant whitepaper on the workload management capabilities of WebLogic Server. Written by one of the key engineers at the time, who later went on to become an architectect, it explains the workings of the new work load management feature introduced into WebLogic Server at the time and covers the concepts of work-manager configuration and effect, work scheduling and prioritization, overload protection and more.
In an earlier post on the topic of Using JAX-RS 2.0 with WebLogic Server 12.1.3
, I described that we've utilized the shared-library model to distribute and enable it.
This approach exposes the JAX-RS 2.0 API and enlists the Jersey 2.x implementation on the target server, allowing applications to make use of it as when they are deployed through a library reference in a weblogic deployment descriptor.
The one resulting (more...)
Following from my last posting
, I thought I'd also show how Eclipse (OEPE) makes the new Java EE 7 APIs available from Oracle WebLogic Server 12.1.3.
The first step was downloading and installing the Oracle Enterprise Pack for Eclipse (OEPE) distribution from OTN.http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html
Firing up Eclipse, the next step is to add a new Server type for Oracle WebLogic Server 12.1.3, pointing at a local installation.
Oracle WebLogic Server 12.1.3 provides full support for Java EE 6 and also adds support for a select set of APIs from Java EE 7.
The additional APIs are:
- JSR 356 - Java API for WebSocket 1.0
- JSR 353 - Java API for JSON Processing
- JSR 339 - Java API for RESTful Web Services 2.0
- JSR 338 - Java Persistence API 2.1
See the "What's New in 12.1.3 (more...)
I recently participated in a week long charity bike ride called Cycle4Sam,
where funds are raised to support the palliative care unit at the Women and Children's Hospital of South Australia.
The ride is conducted on a bi-annual basis in honour of young Sam Roberts, who sadly passed away from a rare genetic disease at the age of 4. His parents, Marty and Michelle and his siblings Lucy and Charlie, created the Sam Roberts Family (more...)