Archive for the Category: Java EE

Implementing RESTful services with JAX-RS and WebSphere 8.5 Liberty Profile

“At long last” one could say as exploring the JAX-RS (The Java API for RESTful Web Services) support in WebSphere Application Server V8.5 Liberty Profile (WLP) has been on the TODO list of mine for so long. In the forum WASdev there was a thread about Multipath form data and variable-length input forms with Strings […]

Also posted in WebSphere Tagged , Leave a comment

New article about Scala and WebSphere Liberty Profile and niceties of latest updates

Hot on the heels of my new article Scala as Shared Library for Java EE applications in WebSphere 8.5 Liberty Profile about Scala as the language for developing Java EE enterprise applications with the Scala jars shared amongst applications using the Shared Library feature of WebSphere 8.5 Liberty Profile, the teams behind WebSphere Liberty Profile […]

Also posted in Languages, Tools, WebSphere Tagged , , Leave a comment

IBM Certified Developer for WebSphere Liberty Profile and IBM Certified System Administrator for WebSphere AS 8.5 ND

I’ve just found out that IBM recently announced two very interesting (and hopefully key to boost your career) certifications for people working with WebSphere Liberty Profile and/or WebSphere Application Server Network Deployment V8.5 – IBM Certified Developer – IBM WebSphere Application Server Developer Tools V8.5 With Liberty Profile and IBM Certified System Administrator – WebSphere […]

Also posted in OSGi, Rational, WebSphere Tagged , , Leave a comment

Developing Java Servlets in Scala with Eclipse and WebSphere Application Server V8.5 Liberty Profile

I can’t believe I managed to cook it today – the article about Developing Java Servlets in Scala with Eclipse and WebSphere Application Server V8.5 Liberty Profile is already available. I’d love hearing your thoughts and ideas for further developments and article writings. For the upcoming days, I’m going to please myself with Play Framework […]

Also posted in Languages, WebSphere Tagged , Leave a comment

Use cases for else with HttpServletRequest.authenticate in Java EE 6?

There are a few security methods added to javax.servlet.http.HttpServletRequest in Java Servlet 3.0 (part of Java EE 6) – login, logout and authenticate. Let’s focus on the latter – HttpServletRequest.html#authenticate(HttpServletResponse response). Have a look at the following servlet and explain how it’s supposed to work and why. package pl.japila.javaee6; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; […]

Also posted in WebSphere Leave a comment

IBM WebSphere Application Server/8.0 when ServletContext#getServerInfo() called in 8.5.0.1

What would you expect when the following servlet runs on IBM WebSphere Application Server 8.5.0.1? package pl.japila.javaee6; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet("/authenticate") public class AuthenticateServlet extends HttpServlet {     private static final long serialVersionUID = 1L;     protected void doGet(HttpServletRequest request, HttpServletResponse response) […]

Also posted in WebSphere Tagged Leave a comment

Rational Application Developer for WebSphere Software 8.5.1 iFix1 available

While preparing the environment to record a screencast about the MDB support in WebSphere AS 8.5 I’ve noticed that there’s the iFix 1 available. It’s also called Refresh pack 8.5.1. It took only a few minutes to upgrade and I’m now ready to give the screencast a go. Stay tuned.

Also posted in Rational, WebSphere Tagged , Leave a comment

OSGi Service ranking attribute applied

I’m working on a demo material to present Enterprise OSGi with Java EE and stumbled upon a mental problem where I used OSGi Blueprint that’s easy to use and explain its features, but missed a part about OSGi itself, mostly versioning. It took me about 2 weeks and a presentation (about Enterprise OSGi and Java […]

Also posted in OSGi, WebSphere Tagged , Leave a comment

Article about developing JSF 2.x web apps with Eclipse IDE and WebSphere Liberty Profile

I’ve recently been asked to write a couple of labs for WebSphere Application Server V8.5 Liberty Profile and hence spent some time trying to figure out how these new Enterprise OSGi and Java EE 6 specs work together. Since I’m not yet sure how complex the lab with JSF 2.x, Enterprise OSGi and WebSphere Liberty […]

Also posted in WebSphere Tagged , Leave a comment

Using @Resource to access JNDI in WebSphere AS 8.5 Liberty Profile

In Using JNDI binding for constants from the server configuration files you can read about defining JNDI bindings for constants in WebSphere Application Server 8.5 Liberty Profile (aka WebSphere Liberty Profile, Liberty Profile or simply Liberty). I was surprised to have read about the feature without a code with the @Resource annotation. I sat down […]

Also posted in WebSphere Tagged Leave a comment