javaee – Geek 2.0 https://www.stormacq.com Some not-so random thoughts about this small IT World Mon, 04 Aug 2014 19:04:05 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.1 Java EE Containers and Docker https://www.stormacq.com/java-ee-containers-and-docker/ https://www.stormacq.com/java-ee-containers-and-docker/#respond Mon, 04 Aug 2014 05:50:19 +0000 https://www.stormacq.com/?p=584 Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications. Given my long history with Java EE, it was natural for me to experiment the installation and deployment of popular Java EE containers using Docker.

Communities and Software vendors did not wait for me, and I discovered many prebuilt containers, ready to use.

The list below references official builds, i.e. the ones created and maintained by the software vendor. (by alphabetical list)

I also built my own Dockerfile for Glassfish.

Feel free to comment this post, I will update the list.  (Official builds only)

Enjoy !

]]>
https://www.stormacq.com/java-ee-containers-and-docker/feed/ 0
How to install WebSphere 8.5 Liberty profile on Mac https://www.stormacq.com/how-to-install-websphere-8-5-liberty-profile-on-mac/ https://www.stormacq.com/how-to-install-websphere-8-5-liberty-profile-on-mac/#comments Sun, 09 Sep 2012 11:07:29 +0000 https://www.stormacq.com/?p=498 WebSphere 8.5 Liberty Profile is a small, fast, agile WebSphere runtime that you – developers – can use to develop, test or embed in your applications.  The runtime is provided free of charge from IBM.  Like every Java EE Profile, it implements a subset of the Java EE Specification, while ensuring 100% “upwards” fidelity to the full WebSphere Application Server.

On my i7 – quad core – machine, WAS Liberty starts in less than 1 sec.  With not application deployed.

Installing the runtime is as easy as unzipping a file on your drive, here are the steps

  1. download from wasdev.net (46 Mb only)
  2. unzip
    java -jar wlp-developers-8.5.0.0.jar

    After displaying and approving the distribution license, you will be ready for the next step

  3. Optional : create a server instance (an instance “defaultServer” is created for you automatically, this step is optional)
    # cd wlp
    # chmod u+x bin/server
    # ./bin/server create MyInstance
    Server MyInstance created.
  4. start it
    # ./bin/server start MyInstance

    Or just this line to start the default instance

    #./bin/server start
    Server MyInstance started with process ID 59946.

Now that you have the runtime, you are ready to install the tooling to manipulate it from Eclipse.

  1.  Start Eclipse (Indigo or Juno)
  2. Open Eclipse MarketPlace
  3. Search for “liberty” and click on “Install”
  4. In the “Eclipse” menu, click on “Preferences”
  5. In the “Preferences” pane, select “Server”, then “Runtime Environment” and click on “Add”
  6. Select “WebSphere Application 8.5 Liberty Profile”
  7. Give the name you want, point to your Installation directory (see bullet 2 in the installation instructions above) and click “Finish”
  8. Switch to the “Server” window in the “Java EE” perspective
  9. Right-click – New -> Server, choose your newly created runtime instance
  10. Don’t leave the “Server” window, right click on the server name and choose “Start”

The “Console” window should automatically open, and within a few seconds, you should see the following line to appear :

Launching default (wlp-1.0.0.20120428-1251/websphere-kernel_1.0.0) on Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_07-b10 (en_US)
[AUDIT   ] CWWKE0001I: The server default has been launched.
[AUDIT   ] CWWKZ0058I: Monitoring dropins for applications. 
[AUDIT   ] CWWKF0011I: The server default is ready to run a smarter planet.

You have now a fully functional WebSphere Liberty profile installed and the corresponding tooling in Eclipse.  The tooling allows you to stop/start the application server, but also to manage its configuration and, obviously, to deploy applications on it.

In the next blog entry, I will show you how to deploy a REST based web service on Liberty

Enjoy !

]]>
https://www.stormacq.com/how-to-install-websphere-8-5-liberty-profile-on-mac/feed/ 12
WebSphere Application Server – Liberty Profile https://www.stormacq.com/websphere-application-server-liberty-profile/ https://www.stormacq.com/websphere-application-server-liberty-profile/#respond Fri, 08 Jun 2012 04:55:06 +0000 https://www.stormacq.com/?p=486 When talking to developers about WebSphere Application Server Liberty Profile (the new lightweight, ultra fast and developer friendly profile for WAS), I always receive questions about supported JSRs and comparison with Java EE 6’s Web Profile.

Therefore I collected information from documentation, blogs, internal IBM forums etc … to create the following list.

(click to enlarge 🙂 )

This is *not* an official IBM document, just a compilation I gathered from various sources.  Please feel free to point me any missing or incorrect entries.

[UPDATE]

The official list of API supported in Liberty profile is now published in WAS 8.5 product documentation.

[/UPDATE]

Enjoy !

]]>
https://www.stormacq.com/websphere-application-server-liberty-profile/feed/ 0
GlassFish v3.1 High Availability screencast https://www.stormacq.com/glassfish-v3-1-high-availability-screencast/ https://www.stormacq.com/glassfish-v3-1-high-availability-screencast/#comments Mon, 29 Nov 2010 06:00:23 +0000 https://www.stormacq.com/?p=398 A couple of weeks ago, during Devoxx 2010 conference, I was answering questions and demonstrating several new and upcoming products, amongst others : GlassFish v3.1

I created a very simple session fail over demonstration, involving two instances of GlassFish and a simple, open source, software load balancer.

The screen cast is available on YouTube in HD quality and from this post.

My colleague, Arun Gupta, from GlassFish engineering, also posted a similar screencast a couple of days ago. The more, the better.

Software mentioned in this screencast :

The source code for the demo application is available as a NetBeans project.

Enjoy !

]]>
https://www.stormacq.com/glassfish-v3-1-high-availability-screencast/feed/ 2
GlassFish Open Source Edition 3.0.1 is released https://www.stormacq.com/glassfish-open-source-edition-3-0-1-is-released/ https://www.stormacq.com/glassfish-open-source-edition-3-0-1-is-released/#respond Tue, 15 Jun 2010 19:07:02 +0000 https://www.stormacq.com/?p=301 The GlassFish community announced today the immediate availability of GlassFish Open Source Edition 3.0.1

Quoted from GlassFish web site : “GlassFish 3.0.1 is built on a modular, flexible runtime based on the OSGi standard. It enables organizations to create and deploy Web applications with the lightweight Java EE 6 Web Profile and to easily leverage the power of the full Java EE 6 platform for enterprise applications. Developers also benefit from the simplified programming model and productivity improvements offered by Java EE 6. The result is a flexible platform that can apply only what is needed to address the business problem, thereby reducing cost and complexity”

GlassFish is released under a dual CDDL and GPL v2 license.

GlassFish Open Source Edition is supported by the community (mailing lists, forum and documentation wiki).  Oracle is expected to release in the next few days an equivalent commercial version, GlassFish Enterprise Server 3.0.1.

If you are curious to know were the GlassFish community is going and what is brewing for next releases, be sure to read the roadmap.

]]>
https://www.stormacq.com/glassfish-open-source-edition-3-0-1-is-released/feed/ 0
Java EE 6 online code camp is starting today https://www.stormacq.com/java-ee-6-online-code-camp-is-starting-today/ https://www.stormacq.com/java-ee-6-online-code-camp-is-starting-today/#respond Mon, 11 Jan 2010 21:46:02 +0000 https://www.stormacq.com/?p=174 The first online Java EE 6 code camp is starting today, it is not too late to register.

The objectives of this code camp is to let you practice and code, code, code using key Java EE 6 technologies.

Online mentors (top notches guys from the Java community) will be available online to answer your questions.

One more thing : this is entirely free, so do not hesitate and register today

]]>
https://www.stormacq.com/java-ee-6-online-code-camp-is-starting-today/feed/ 0
GlassFish Tools for Eclipse are available https://www.stormacq.com/glassfish-tools-for-eclipse-are-available/ https://www.stormacq.com/glassfish-tools-for-eclipse-are-available/#respond Tue, 24 Mar 2009 03:56:27 +0000 https://www.stormacq.com/?p=184 Sun is making available GlassFish Tools for Eclipse (v0.9, final version to be release soon).  This is a pre-configured package containing Eclipse 3.4.1 alongside with GlassFish v2.1 and GlassFish v3 prelude and the required Eclipse plugins to effectively manage and deploy applications to GlassFish right from the IDE.

Q: Who is the target for this offering?
A: Developers or organizations that have already standardized on or prefer Eclipse over NetBeans.

Q: Why has Sun created this offering?
A: Sun has created a strong preference for GlassFish among NetBeans users. However, a large community of developers have chosen Eclipse as their IDE of choice.  Today those developers have to download open source products from multiple locations and configure them to work together (error prone), increasing the barrier to entry. This offering creates a positive feature-rich out-of-the-box experience for Eclipse developers. In additional, developers can now leverage the open source plugins created by competitive frameworks (Spring, SEAM, Hibernate, etc) within a GlassFish-focused IDE. This bundle will also improve the relationship between the community of Eclipse developers and Sun.

Q: Is Sun moving away from Netbeans towards Eclipse?
A: No. Sun is expanding its reach by embracing not just the NetBeans developer community, but also the Eclipse community. This is a consistent with Sun’s strategy of using open source to "lower the barrier to entry" – in this case to a large developer community.

]]>
https://www.stormacq.com/glassfish-tools-for-eclipse-are-available/feed/ 0