Mitch Pronschinske is the Lead Research Analyst at DZone. Researching and compiling content for DZone's research guides is his primary job. He likes to make his own ringtones, watches cartoons/anime, enjoys card and board games, and plays the accordion. Mitch is a DZone Zone Leader and has posted 2576 posts at DZone. You can read more from them at their website. View Full User Profile

Resin Release brings REST administration

12.01.2009
| 13087 views |
  • submit to reddit
Today, Caucho released the newest version of its open source application server, Resin.  Version 4.0.2 has bigger changes than the small number change implies.  The release includes Servlet 3.0 Early Access improvements such as file upload and annotations.  Resin 4.0.2 also has Quercus compatibility fixes, Eclipse plugin updates, improved administration application monitoring, and a new Git-based deployment architecture.  One of the most significant features of this release is support for a REST interface in the Resin administration application.  The new REST interface in Resin 4.0.2 provides easy monitoring application access to the server state programmatically.  

The Resin administration application is written in PHP using Quercus, Caucho's Java implementation of PHP 5.  Resin provides a PHP framework to access server MBeans and output information.  The Resin administration application will take care of script calling and MBean access.  All the developer needs to do is write a PHP script with a .rest extension in order to create a REST resource.  For example,  you can print the status of of your Resin thread pool by writing a simple request with many facilities provided automatically.  The Resin Server MBean and generic JVM Threading MBean codes are used to get the current thread status.  The data can then be put into an external monitor.

The REST interface can also be integrated with popular monitoring applications such as Nagios.  Nagios can monitor resources exposed through the REST interface.  The plugin mechanism in Nagios can use a shell script to integrate with the Resin REST engine by accessing memory, thread, and uptime resources.  When the integration is set up, monitoring another resource requires only a few lines of code.  JConsole or the Resin administration application's JMX view can be used to find other MBeans to monitor.  Developers can also monitor their own MBeans and share their scripts in the Caucho forum.

Caucho offers two editions for Resin.  The Resin Professional edition is for professional production environments and Resin Open Source a free offering for hobbyists, developers, and low traffic websites.  Resin Open Source is licensed under the GNU public license.

Comments

Omar Ahmed replied on Mon, 2014/07/28 - 6:27pm

best article,thanks

العاب تلبيس بنات

Mohammad Yasin replied on Wed, 2014/08/13 - 2:55am

 Resin provides a PHP framework to access server MBeans and output information.

العاب اطفال

Ahmed Hashem replied on Wed, 2014/08/13 - 5:50am

 Resin provides a PHP framework to access server MBean

العاب بنات

Abdel Zoo replied on Sat, 2014/10/18 - 11:33am

your topic is great admin

العاب صبايا 

العاب g9g 

Yasmeen Amgad replied on Tue, 2014/10/21 - 5:40am

I have to show some appreciation to you just for rescuing me from this type of incident. Because of browsing through the world-wide-web and finding views that were not productive, I was thinking my life was gone. Living minus the approaches to the problems you have resolved through your entire site is a crucial case, and the kind which may have adversely damaged my entire career if I had not discovered the website. Your main talents and kindness in maneuvering every part was invaluable. I don't know what I would've done if I had not encountered such a point like this. I am able to at this point look ahead to my future. Thanks so much for the specialized and sensible guide. I will not be reluctant to endorse the sites to any person who would like support about this subject.العاب بنات العاب تلبيس

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.