Java, business and... NetBeans ! [[ Jonathan Lermitage ]]

Java EE / Web

Java EE and Java Web tips, tutorials and downloads. 

Entries feed - Comments feed

Friday 22 March 2013

Why I have planned to move to Apache TomEE, the next-generation Java EE server

TomEE first logo (it may change later)After having worked with GlassFish and Tomcat platforms for several years, I recently planned to quit them and learn the TomEE platform. I'll try to explain why and how.

This news is also available at

Continue reading...

Thursday 21 February 2013

Introduction to JAX-WS 2.0 Metro Web Services for beginners (updated)

I have recently published a short tutorial about JAX-WS 2.0 Web Services (with Metro) development for Java beginners. You can download PDF and Word 2010 versions of this document.
Hope it will help beginners to start with Web Services ;)

Update :

An updated version is available in French : PDF and Word 2010. I'll provide synchronized (ENU-FRA) and reworked documents asap.

Wednesday 29 February 2012

GlassFish 3.1.2 - My remote admin doesn't work. What the hell ?

sparky_3.1.2_blue.gifGlassFish Server 3.1.2 has just been released. If you already have installed it, you probably tried to connect to the administration page from an other computer (in my case, GlassFish is installed on a dedicated server).
If you don't have modified security configuration, you must face a problem : you cannot login to GlassFish administration page, and it shows a message like Secure Admin must be enabled to access the DAS remotely.

This kind of security rule is not new, but GlassFish 3.1.2 now enables it by default : you have to enable Secure Admin first to login remotely.

To activate Secure Admin, you only have to :

  • start GlassFish.
  • go to the "bin" directory of your GlassFish installation.
  • run the "asadmin enable-secure-admin" command. You will have to type admin username and password.
  • restart GlassFish.
  • you can now go to the GlassFish administration page remotely (http://YourServerAddress:4848/). Note that you will be automatically redirected to the secured admin page https://YourServerAddress:4848/. You can log in.

Nota : I have noticed that Secure Admin doesn't work if you have changed the default admin port (4848). To use an other admin port, you may have to make some additional configurations.