In addition to the WebSocket support we've added into the next major release of WebLogic Server (version 12.1.2 with all usual caveats with respect to release timeframes, no guarantee, etc.) we've also added support for the HTML5 ServerSent-Event model through collaborating with the GlassFish team and integrating
(more...)
We've been busy working on putting in support for the WebSocket Protocol into WebLogic Server with the intent to include it in the next major release (usual caveats apply with respect to dates, times, features, etc.). Running the
Autobahn WS Testsuite, which seems to be the industry
(more...)
In a similar vein to my last post, with this blog I'd like to try and raise the visibility of another bug that is being seen in a few different places, and for which there is already a patch available for it.
The basic issue here is that when an
(more...)
Multipart File Upload with WLS 12c
Just a word for anyone out there looking to use the Servlet 3.0 file upload feature with WLS 12c.
If you use the annotation approach on the Servlet class, it works perfectly well
However if you use the web.xml file to specify
(more...)
That's quite the mouthful of annotations ..
A
question was posed recently on the
WLS EJB OTN forum asking about why WLS doesn't correctly support this combination of annotations, where the method with the @PostConstruct annotation was not being called as expected.
WebLogic Server has supported the notion of a Singleton Service for a number of releases, in which WebLogic Server will maintain a single instance of a configured singleton service on one managed server within a cluster. The singleton can be migrated to another server in the cluster, either automatically
(more...)
The OTN documentation pages don't appear yet to have a link to the WLS 10.3.6 documentation set.
If you are looking for it in the interim you can find it here:
http://docs.oracle.com/cd/E23943_01/wls.htm
While this is predominantly a patchset, there are a number of new features
(more...)
Following a posting on here last year that described using the filtering classloader within a web application, several folks commented that it wasn't described in the documentation.
The
WebLogic Server 12c (12.1.1.0) documentation shows the prefer-application-packages and prefer-application-resources elements as being available in the weblogic.xml file.
(more...)
Short and sweet this one, purely for my own future simple reference.
To use
prefer-application-packages in weblogic.xml, it looks like this:
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd">
<jsp-descriptor>
<keepgenerated>true</keepgenerated>
<debug>true</debug>
</jsp-descriptor>
<context-root>/quicktest</context-root>
<container-descriptor>
<prefer-application-packages>
<package-name>org.codehaus.jackson.*</package-name>
<package-name>org.codehaus.jettison.*</package-name>
<package-name>org.objectweb.asm.*</package-name>
</prefer-application-packages>
</container-descriptor>
</weblogic-web-app>
Not sure how I overlooked this, but according to this page here:
http://wikis.sun.com/display/OpenJDK/Mac+OS+X+Port
There are prebuilt (unofficial) binaries for Java SE 7 on Mac OS X here:
http://code.google.com/p/openjdk-osx-build/downloads/list?q=label:Featured
Good stuff.
Talking with
Doug Clarke of EclipseLink fame and fortune last week, it sounds like there is some real interest from developers in wanting to update WebLogic Server to use later versions of the EclipseLink in order to access it's evolving feature set.
Which should offer no surprises really, EclipseLink rocks.
(more...)
Preparing a little for the Adelaide JUG meeting yesterday, where Java SE 7 was going to be the topic of discussion, I finally thought it was time to grab the OpenJDK 7 source, get it built and working on my Mac.
http://wikis.sun.com/display/OpenJDK/Mac+OS+X+Port
After checking off the pre-reqs, the
(more...)
Another question from a colleague today: "for a given authenticated user, how can I see what groups the user belongs to?"
Yep, good question Pas. Not sure, but worth some time to find out.
Hunting through the
WebLogic Security Documentation, I found a good description and diagram of
(more...)
Just recently, I needed to take a look at the SLF4J (Simple Logging Facade 4 Java) API, and more specifically, to how it could be employed on WebLogic Server.
Simple Logging Facade for Java
http://www.slf4j.org/
SLF4J follows the Commons-Logging model in that it provides a "Simple Logging Facade"
(more...)
A
colleague recently sent me a VIM resource file to configure how VIM displays code.
A small set of simple changes, but the effect is very nice and makes the casual viewing of code, scripts, etc. much nicer with line numbering, auto-indenting, syntax color coding, etc.
$ cat ~/.vimrc
(more...)
To help answer an OTN question today regarding the use of the domain/lib directory on WLS 10.3.3, I went to use the CAT utility (as I've become accustomed) and then realized we'd only added it from the WLS 10.3.4 onwards.
As far as I'm aware, we
(more...)
I had a bit of a hunt around yesterday looking for some JSF 2.0 example applications to deploy. I quickly came across a comprehensive JSF 2.0 tutorial @
http://www.coreservlets.com/JSF-Tutorial/jsf2/ published by Marty Hall.
For each of the tutorial sections on this site, the example code
(more...)
Tonight sees the first time that the Adelaide Java User Group meeting is being hosted @ the local Oracle office.
The session should be interesting with Derek Webber presenting on his area of expertise in Meta-programming with Groovy.
Meta-programming is a term to describe modifying code
(more...)