Tuesday Mar 17, 2015

Java EE Container Lifecycle

Java EE defines different component/container models with their own well-defined lifecycle.  Understanding the lifecycle of those different component/container might sometime be useful. Having some visibility on component lifecycle is also useful with applications that use different types of components (e.g. Servlet and EJB) and needless to stay that this is the most common uses case. Finally, it is not just about visibility. Having the ability to also trigger certain actions based on the state of a particular component/container is also sometime required (e.g. perform some specific initialisation).

So when it comes to monitoring and managing Java EE applications, Application Servers tends to provide some custom hooks to achieve that, i.e. observe internal state (e.g. state of a particular container) and trigger management actions based on events such as a state change. Obviously, this is Application Server dependent. For example, GlassFish has Life Cycle Modules/Listeners while WebLogic has, amongst different options, WLDF Watches. So overall, this type of capability (and theirs implantations) varies greatly and is Application Server dependent.

But some of the Java EE Java APIs also provide hooks that can be used to determine in which state an actual component/container is. In terms of granularity, this approach might be a bit more limited but it has the advantage of being Application Server agnostic since it is based on standardised APIs. I recently came across 2 articles that are discussing that particular topic:

On a related matter, the discussions over the upcoming 'Java EE Management API 2.0' (JSR 373) will also be interesting to track.

Wednesday Feb 11, 2009

WEBINAR: Attacking complexity with simplicity - Sun Identity Management

The Sun Identity Team is kicking off a monthly webinar program outlining our overall portfolio and how it can help you solve everyday identity challenges. The first session will be held on February 18 at 8AM PT and will provide an overview around how Sun approaches everyday identity and offer an overview of our methodology to build strong identity foundation that lasts. So . . . what are you waiting for! Register for our life changing webinar now!

Monday Aug 11, 2008

... Managing GFv2, SMF in OpenSolaris, $30M in 30 Days, MySQL and GF, Kindle and Java

A concise compilation of today's news of interest to TheAquarium readers:

Radio Receiver Icon

Nazrul provides Links on GFv2 Monitoring, including GF-bundled tools, other Sun and 3rd party tools, documentation and web sites.

Arun documents how to start the MySQL and GlassFish Bundle, with detailed steps and screenshots.

Dave, writing in the SocialSite Blog, provides an Overview of the Apache Shindig REST API, which is used by the SocialSite implementation.

TheObservatory continues with their list of benefits of OpenSolaris; number 1 was ZFS; number 2 is SMF (Service Management Framework) - although, strictly speaking, SMF is also on plain good old Solaris.

The WSJ on Revenue from Apple's Online App Store: 30$M in the first month; the benefits of controlling the distribution channel to a large installed base.

And, showing again the value of content and connectivity CNet reports that Kindle sales are projected at $1 billion by 2010 (recall that that Kindle uses Java in its implementation)

Friday Aug 08, 2008

OpenSSO Early Access Review Launched

The OpenSSO Project is soliciting feedback on their Early Access Build -- OpenSSO Express Build 5. With the release of this build, community members now have the opportunity to participate in the Early Access (EA) program for Sun's next commercial offering. Review the Early Access documentation and hammer away at Express Build 5! Send your EA feedback to opensso.eafeedback@dev.java.net so we can make the product perfect. Thanks in advance!

Saturday May 24, 2008

GlassFish Management and Monitoring in Hyperic HQ

ALT DESCR

Hyperic is one of Sun's Partners for GlassFish through their Hyperic HQ product. The GlassFish Server-specific features are Described here.

Hyperic is a long-time MySQL partner; welcome to the GlassFish party!

One of the proposals for TheAquarium TV is for a series showcasing GlassFish Partners; add your own ideas to my proposal on TA.tv.

Thursday Jan 24, 2008

Article on combining GlassFish AMX and Management Rules

Masoud Kalali's picture

GlassFish doesn't trade enterprise features such as management and monitoring for Open Source. Masoud Kalali's recent article on java.net is a good illustration of this. It shows how the JMX-based administration infrastructure can be accessed to dynamically change the behavior of the HTTP load-balancer.

The article first goes into what JMX and GlassFish AMX's are before introducing GlassFish v2's Management Rules mechanism. The rest is a detailed explanation of how to create and deploy the MBean to manage the weight of the load-balancer algorithm and the corresponding management rule.

Masoud had previously written detailed blog entries about:
- How to Secure GlassFish installation.
- GlassFish version 2 monitoring capabilities

Saturday Nov 24, 2007

GlassFish with AspectJ and JXInsight

JInspired Logo

JXInsight is a solution for management and monitoring. A Note from William Louth on how to use GlassFish, AspectJ and the forthcoming JXInsight 5.5 Beta 2 together.

Also see William's earlier post on Monitoring GlassFish and check for GlassFish-tagged entries at William's blog.

Tuesday May 29, 2007

Application Manager (AdventNet) Supports GlassFish v2

ManageEngine Logo

AdventNet is a company that sells Monitoring, Administration and Configuration products. Their Product List seems quite extensive. I hadn't encountered before but Shreedhar had, and so had Greg, when using ManageEngine together with GlassFish

The ManageEngine page does not (yet?) list GlassFish as a supported App Server but their official blog does . Both Shreedhar and Greg seem happy customers; you may want to check their Online Demo and try at least their Free Version. They also have a Professional and an Enterprise version; check the Differences and their Support.

Overall, it looks pretty good. Maybe we should try the Free version to monitor our Wiki, which is down right now :-(

Wednesday Jan 25, 2006

Self-Management Cartoon!

GlassFish Self-Management

The latest cartoon from Kazem builds on self-management in GlassFish.

Looks like we may have an almost-official cartoonist for GlassFish; we may have to put together a standing exhibition.