Saturday Dec 12, 2009

New software updates - Glassfish v3, MQ 4.4u1 and Netbeans

A bunch of great new releases and updates to Sun Software has been announced. The following are the highlights from these releases [Disclaimer – I am not the author of these writeup's, just a aggregator of information ;-) ]

Glassfish v3

The availability of the Java EE 6 and GlassFish Enterprise Server v3, the first Java EE platform-compatible application server and the most downloaded Java EE application server in the world.

  • Java EE 6 is a significant release of the enterprise Java standard that delivers major productivity enhancements as well as the Web Profile, a lightweight subset of the full platform optimized for Web applications.

  • Sun GlassFish Enterprise Server v3 enables faster time to market with rapid iterative development, the ability to run dynamic language applications, and enhanced monitoring and management.

GlassFish Enterprise Server v3 is a flexible, easy-to-use, open-source enterprise platform.

  1. It offers businesses the ability to easily manage costs and reduce the complexity of their existing enterprise server deployments.

      • GlassFish Enterprise Server v3 is based on the Java EE 6 reference implementation and is the first application server to support the full Java EE 6 platform.

      • GlassFish Enterprise Server does not add proprietary extensions and stays true to the Java EE standard, lowering the barrier to entry.

      • GlassFish is the most downloaded Java EE platform-compatible application server, with more than 24M downloads since 2006. It is focussed on improving developer productivity and providing an enterprise-grade, open-source application server solution for customers.

      • GlassFish Enterprise Server v3 continues to innovate by providing a lightweight, flexible platform based on an OSGi-based runtime that improves startup time and reduces resource utilization. The flexibility of GlassFish Enterprise Server v3 and the Web Profile distribution enables organizations to begin consolidating Tomcat, Java EE application server, and dynamic language application infrastructure into a single, manageable runtime.

      • GlassFish Enterprise Server v3 delivers dramatically increased productivity that comes as part of the Java EE 6 specification and enables rapid iterative development on multiple languages.

  1. GlassFish Enterprise Server v3 is production-ready.

  2. GlassFish Enterprise Server v3 offers a huge range of benefits to enterprises because of its open-source approach, which ensures a large talent pool of developer expertise and a strong partner ecosystem. It also provides transparency that enables enterprises to align initiatives with upcoming product releases.

  3. Developers can easily take advantage of these new features through NetBeans IDE 6.8, the first IDE to provide complete support for the Java EE 6 platform and GlassFish Enterprise Server v3.

  4. Developers using Eclipse can use the GlassFish Tools Bundle for Eclipse 1.2, enhanced to support the Java EE 6 platform and GlassFish Enterprise Server v3. Download it!

  5. Flexible pricing options are available.


Sun Message Queue 4.4 Update 1

MQ 4.4u1 is now shipping and is available for immediate download and purchase. 4.4u1 is included in GlassFish v3.

These are the highlights of the new features of MQ 4.4u1:

  • JMS Bridge -- for integrating to any JMS 1.1 compliant provider

  • STOMP Bridge -- a text oriented interface that can be used by scripted as well as programmed client applications

  • Embedded support for custom solutions -- Customers can now embed the MQ broker into their own application

  • IPS support -- Support for update center 2.2 as well as enabling MQ support for all types of Solaris Zones

  • A new transaction log implementation provides a 1.5x boost for persistent transactional messages for clustered configurations as well as other general improvements. You can learn more by reading the updated documentation available at [http://docs.sun.com/coll/1307.7].

      Finally, all the details are available in the technical training webinar which was recorded and is available at these links:

      Part 1 - https://slx.sun.com/1179275731 - This section covers the overview of MQ4.4 and JMS bridge

      Part 2 - https://slx.sun.com/1179275732 - This section focuses on STOMP protocol support, UMS updates, and IPS packaging

      Part 3 - https://slx.sun.com/1179275733 The conclusion

      Community users can also refer to the development information available at https://mq.dev.java.net/4.4.html.

Netbeans 6.8

The NetBeans IDE 6.8 is available for download free of charge at www.netbeans.org.

KEY UPDATES TO THE NETBEANS 6.8 IDE

  • Complete Java EE 6 Support: Java EE 6 language features simplify Java application development with less XML configuration, more annotations and more POJO-like development.

  • GlassFish v3 Support: Developers can easily target and deploy to GlassFish v3, including the new lightweight GlassFish v3 Web Profile.

  • JavaFX(TM): The latest version of the NetBeans editor provides improved code completion, hints and navigation for JavaFX.

  • PHP Support: The NetBeans IDE expands its support of dynamic languages with support for PHP 5.3 and the Symfony framework.

  • Tighter Integration with Project Kenai: Project Kenai, a collaborative environment for hosting open source projects, now delivers full support for JIRA and improved instant messenger and issue tracker integration. For more information visit www.kenai.com.

  • C/C++ Profiling: The new Microstate Accounting indicator and I/O usage monitor help developers profile and tune C/C++ applications.

  • NetBeans Platform: As a rock-solid application framework for Swing applications, the platform saves developers a huge amount of time and effort by providing commonly-used facilities such as menu items, toolbar items, keyboard shortcuts, and window management out of the box.

Additional information is available at:

NetBeans 6.8 IDE - http://netbeans.org/community/releases/68/

Java EE 6 - http://java.sun.com/javaee/

GlassFish v3 - http://www.sun.com/glassfishv3

Monday Aug 24, 2009

Using Alfresco with Sun software products

Alfresco is a very popular open source Content management system (CMS) and Document management system (DMS). It competes well with commercial offerings. There has been a few instances of requests from technical folks, about the integration points between Alfresco and Sun software, primarily Glassfish application server, Sun Webspace portal server and OpenSSO.

Alfresco and Glassfish
Running Alfresco on Glassfish application server is pretty easy. This is well documented in Amanda's blog and also the Alfresco web site.

Alfresco and OpenSSO
Alfresco is well integrated with OpenSSO and Sun Directory server.

Alfresco and Sun Webspace Portal server
The content and documents managed in Alfresco can be displayed or administered in Sun webspace portal via Portlets. The Alfresco web services API or the CMIS api can be used to accomplish this . There is also a white paper written by our ISV engineering team, let me know if you need it.

On a final note, the Sun webspace server has a built in content management and document management system. If your requirements can be met with what Webspace can offer, then there is no need to use a separate CMS and DMS system ;-)

Wednesday Jun 17, 2009

Glassfish ESB v2.1 released and Sun Open Suite for SWIFT Solution

Glassfish ESB v2.1 has been released !! The key features of this release are:

  1. Support for GlassFish clustering in all components
  2. Intelligent Event Processor (IEP) Service Engine – Available in v 2.1 with Platinum level support. Enables complex event processing (CEP) and event stream processing (ESP) using the Continuous Query Language (CQL)
  3. New Systems Support: NetBeans IDE 6.5, GlassFish Enterprise Server 2.1, OpenSolaris 2008.11, Red Hat Linux AS 5 (32 and 64 bit) and IBM AIX 5L 5.3 (OS: 64 bit; JVM: 32 bit) (runtime support only) and lots more
You can download the software at the OpenESB website or the Sun download website. Congratulations to the Glassfish ESB team on this release.

Sun Open Suite for SWIFT Solution - Alliance Integrator Upgrade Program

About Alliance Integrator : Integrator is a SWIFT-specific integration layer designed to help firms integrate business applications with SWIFT. Licensed as an add-on to Alliance Access, this application integration framework is designed and built for SWIFT users by SWIFT, and is sold, supported, and maintained by SWIFT as well. Integrator has been built using Sun’s Java™ CAPS Financial EAI software, which includes : GlassFish™ Enterprise Service Bus (ESB) re information about Alliance Integrator, please contact SWIFT.

The Sun Open Suite for SWIFT Solution The Sun Open Suite for SWIFT solution demonstrates Sun’s experience in the SWIFT area, and comprises the following products, all of which have been optimised to work together with the SWIFT network and the Alliance product line.

  1. GlassFish™ Enterprise Service Bus (ESB)
  2. Sun Identity management Suite
  3. Sun Solaris
  4. Sun Cluster
  5. Sun SPARC and Intel systems

The Open Suite for SWIFT solution provides companies with a complete SWIFTNet access infrastructure and just one contact for support, lowering project risk and cost.

Sun’s Alliance Integrator Upgrade Program
Sun’s Alliance Integrator Upgrade Program offers a smooth, risk-free way for Integrator customers and partners to complement Integrator’s rich functionalities with the openness of Sun’s GlassFish ESB software.

Contact me or Sun, if you need more information or a demo on how this works. Please download the white paper, which has more details about the Sun Alliance Integrator upgrade program.

Friday Jun 05, 2009

Glassfish leads in open source application server adoption

A report by Ohloh on application server adoption in open source (commissioned by Sun is out) and has exciting news for Glassfish !! There is also a good summary at the Aquarium and John Clingan's blog

Credit: Image linked from http://blogs.sun.com/jclingan/resource/ohloh1.png


The Exec summary from the report:

Application Server Trends among Open Source Developers
Prepared for: Sun Microsystems
Prepared by: Jason Allen, Scott Collison and Robin Luckey

Abstract: Ohloh performed custom analyses against Ohloh's directory of open source projects, specifically drilling into each project's source code history to yield Java and Application Server metrics. While our open source coverage is comprehensive across the entire open source space, for this report we focused specifically on Java-based projects.

We have made a best-faith effort to have near 100% coverage of all Java-related open source projects. Ohloh is unique in its ability to measure development activity directly from the primary source. Other reports in this vein rely upon data from voluntary survey responses, or upon secondary metrics such as product sales figures.

These and similar strategies are only broad indicators of the true underlying activity. In contrast, Ohloh tracks the individual changes to source code as they are made by developers, and thus observes the act of software development itself. Ohloh data is accurate to the minute, the developer and the individual line of code. There is no closer way to objectively measure how developers are spending their time. Ohloh tracks development metrics for 38,359 open source projects. Of those, 14,450 contain some Java code. We track over 250,000 open source developers, 32,866 have authored Java code and over 16,000 have provided geographic information. These metrics are collected from over 3,500 forges.

Ohloh performed a custom data analysis to determine the adoption of application servers among open source developers. Key findings in this report are:

  • Of Java projects that target Java EE, GlassFish is the leading application server with just over 50% of projects targeting GlassFish (note that projects can target multiple application servers). Project adoption is a indicator of past and present health of an application server among open source developers.
  • Of Java new project starts that target Java EE, GlassFish is the leading application server for new project starts with 73% of all Java EE projects. Project starts is a leading indicator that is a reliable predictor of future market success.

GlassFish has gone from being a market lagging application server among open source developers in 2004 to becoming the market leading application server among open source developers today. GlassFish is well-positioned for future dominance in the market place with a very commanding position among new projects coming on line today. With that said the overall growth of Java development among open source developers is flat.

DELIVERABLES: This summary highlights the findings and includes backing information about what the data means and how it was gathered. Included with this document is a spreadsheet of the raw metrics.

Wednesday May 20, 2009

Sun Glassfish ES 2.1 - Connection refused error

I was recently at a massive deployment of Sun Glassfish Enterprise server's (2.1) in a deployment, where the topology was the Glassfish DAS, Node agents, Sun web servers distributed across Solaris Containers across multiple servers - that is horizontal and vertical scaling.

After installing the DAS and Nodeagents, we created Glassfish server instances for all Nodegents, in an app server cluster. When we tried starting the app server instances, we started getting lots of "java.net.ConnectException: Connection refused exceptions" in the server logs and the servers would refuse to start. One of the clue's, of what the problem could be was in Shalini's blog. This led us to think, this was related to some kind of hostname issue. The problem, it seems that when you have a cluster of app server instances, there should be a hostname mapped to an IP address entry in /etc/hosts, for every app server instance participating in a cluster

So, in /etc/hosts, you should have something similar to the following:

127.... localhost
xx.xx.xx.xx servername loghost
xx.xx.xx.xx GlassfishDAS
xx.xx.xx.xx Glassfish1
xx.xx.xx.xx Glassfish2
xx.xx.xx.xx Glassfish3

This problem, may probably not arise, if you there is a DNS server. In our case, we were operating from a Data center, with newly installed servers.

Thursday Apr 23, 2009

Connecting to a MySQL Master/Slave replication with JDBC and Glassfish

MySQL has been having a lot of traction with customers, partners and developers in India. A very popular architecture for using MySQL for large scale deployments is the MySQL Master/Slave replication (Replication enables data from one MySQL database server (called the master) to be replicated to one or more MySQL database servers (slaves)).
Credit: Image is linked from http://dev.mysql.com/doc/refman/5.0/en/replication-solutions-scaleout.html.

One of things that change for developers, who are used to developing with other databases like Oracle, MS SQL server is the question on connecting to a MySQL master/Slave setup. There are several good resources which explain how to do this:
1. From MySQL web site: A snippet of the code from that article is reproduced below :
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Properties;

import com.mysql.jdbc.ReplicationDriver;

public class ReplicationDriverDemo {

  public static void main(String[] args) throws Exception {
    ReplicationDriver driver = new ReplicationDriver();

    Properties props = new Properties();

    // We want this for failover on the slaves
    props.put("autoReconnect", "true");

    // We want to load balance between the slaves
    props.put("roundRobinLoadBalance", "true");

    props.put("user", "foo");
    props.put("password", "bar");

    //
    // Looks like a normal MySQL JDBC url, with a
    // comma-separated list of hosts, the first 
    // being the 'master', the rest being any number
    // of slaves that the driver will load balance against
    //

    Connection conn =
        driver.connect("jdbc:mysql://master,slave1,slave2,slave3/test",
            props);

    //
    // Perform read/write work on the master
    // by setting the read-only flag to "false"
    //

    conn.setReadOnly(false);
    conn.setAutoCommit(false);
    conn.createStatement().executeUpdate("UPDATE some_table ....");
    conn.commit();

    //
    // Now, do a query from a slave, the driver automatically picks one
    // from the list
    //

    conn.setReadOnly(true);

    ResultSet rs = 
      conn.createStatement().executeQuery("SELECT a,b FROM alt_table");

     .......
  }
}

Note: Please refer to the mySQL web site for any updates.
2. If you are using Spring, Hibernate and other popular frameworks, an article at http://neilhan.blogspot.com/2006/11/spring-hibernate-and-mysql-replication.html tells you how to do it.

Wednesday Feb 18, 2009

Exciting new releases in Glassfish, Glassfish Web Space Server ..

A little belated, but anyway ;-)
  • Launch of the Glassfish portfolio : The Web stack based on Glassfish, is complete and has been launched. The portfolio consists of :
    1. GlassFish Enterprise Server: The fantastic Java EE compliant app server.
    2. GlassFish ESB: Lightweight and agile ESB platform, I have a comparison on the features between Java CAPS and ESB in one of my posts below.
    3. GlassFish Web Stack : is a complete LAMP/SAMP cross-platform portfolio of Web-tier technologies. Plugnplay, as per the customer needs.
    4. GlassFish Web Space Server: Our Portal service offering, in a new avatar. I love this, have been playing with this, since last Java One. Our customers in India, like the look and feel of this product.
  • Glassfish Enterprise manager - Similar to the MySQL model of advisors, we have released three great add-ons, for SNMP monitoring, Performance Advisor and Performance monitoring. These add-ons, come with the paid Glassfish enterprise server, hence more reasons to get a supported version, if you are using the free Glassfish server. The add-ons are available for download from sunsolve.sun.com, for customers with valid contracts. The Glassfish Aquarium has great blogs and articles on this release.
  • Sun web space server - The new portal server based on Liferay and the previous Sun portal server has been launched. The docs are available at http://docs.sun.com/app/docs/coll/1863.3?l=en and also the portal blog is alive with lots of posts and articles. Compliance to JSR 168, JSR 286, JSR 170, and WSRP 2.0, having an integrated Content management system, lots of web 2.0 gadgets, ease of installation/monitoring/administration, easy fitment with OpenSSO, TCO being highly competitive, the only "real" enterprise class open source portal server, are some of the great features, that I can see resonating with customers in India.

Thursday Jan 29, 2009

Glassfish ESB, Glassfish Suite, MDM, Java CAPS - Which one to use?

These questions come up in my discussions with Customers, Partners and also within Sun. I found this fantastic matrix on java.net at https://open-esb.dev.java.net/glassfishesb/features.html. This table has been displayed in an iframe for convenience.

Monday Jan 12, 2009

Free Training on Glassfish, Web Services and more ...

Wow, you get a bunch of fantastic Free web based courses when you download Glassfish and enable Registration from the Glassfish Admin console. More details at http://www.sun.com/training/glassfish_register.html . The courses are on Glassfish,Designing Web services, Securing Web services and more. I would say, why are you waiting ??

Wednesday Jul 23, 2008

Glassfish and other Sun products

Found this very useful picture, depicting the Glassfish app server and the various Sun products dependent on it:
Linked from http://blogs.sun.com/theaquarium/resource/GFandSunProducts.jpg.

Wednesday Jun 18, 2008

Sun tech event at Hyderabad

We had an event at a major SI, at Hyderabad to cover the 4 S's of Sun (Software-Servers-Services-Storage). We covered the following Software products:


It was a productive session, with lots of questions. Only regret, not having time to go out, and eat the famous Hyderabadi Biryani :-)

Wednesday May 07, 2008

Java One - day 2

Have been hopping from one event, to another event. Here are some updates frrom some of the talks, I attended:

1. Attended a talk on asynchronous ajax: Async Ajax or Comet or Ajax Push or Reverse Ajax, is a big thing this year at J1. Gtalk, Gmail, meebo.com are examples of a async ajax. 4homemedia.com, is a async ajax website running on Glassfish. As per the talk, the complet Async support (which supports async I/O, suspendible request/response and elivery guarantee) is best delivered by Glassfish with Grizzly/Comet. of course, I knew that ;-) Servlet 3.0, will add Java EE standard support in Async Ajax. This was a fullhouse session !!

2. Another fullhouse session, was on tools for Java performance. The tools, as per the talk were:
a. OS level tools like Dtrace. If you are scared by the complexity of using Dtrace, try Chime and D-Light. Dtrace is limited to Solaris and Mac OS X
b. JVM tools like jps, jmap, jstack and jinfo.
c. GC Histo is another tool for analysing GC.
d. Visual VM is a new tool on the block, which combines all the Java tools in a single integrated manner. This seems very cool.
e. JConsole is another tool. Netbeans also has a good profiler, advantage of using Netbeans is you can step through code.

3. Social networking: Apache Shindig is a apache incubator project, which enables you to do Social networking. hi5.com uses Shindig.

4. A talk on doing HDTV stuff using Java on a PC. Java ATSC receiver is the java.net project, the presenter has promised to post code soon at https://jarx.dev.java.net/.

Two announcements of interest:
1. The Sun app server has undergone a name change, yet again. "Sun Java System Application Server" to "Sun GlassFish Enterprise Server" to more clearly articulate its relationship with GlassFish. There is also an unlimited pricing option for glassfish enterprise server. Please see announcement
Unlimited Pricing for GlassFish Enterprise Server Use
Sun introduced GlassFish Unlimited pricing enabling enterprises to purchase the rights of unlimited GlassFish Enterprise Server use for a flat fee based on the number of employees in the organization. Combined with MySQL Unlimited pricing, the new pricing model makes it easier for customers to purchase two of the leading open source products.
2. Sun and Liferay have announced that they will going jointly to build a new open source based Portal platform. Sun has joined the Liferay Community to develop a common Web presentation platform that incorporates portal and integration technologies from Liferay and from OpenPortal, GlassFish, OpenSSO and other related projects. Please see http://www.sun.com/aboutsun/pr/2008-05/sunflash.20080507.2.xml for the press release, and http://glassfish.org/portal for the FAQ.
I talked to a Sun portal engineer, the next minor release of Sun Portal server 7.2, is still expected to be released as per schedule (sometime in June, I think), dont quote me on this one !!

I am proctoring a session LAB-4520 bring your laptop hand-on lab, Plugging Glassfish V3 with JSF and Jmaki. basically extending the Glassfish admin console, with your own console. There is a prize going for the best/coolest console. Grab the prize India !!

About

Ramblings of a Sun engineer based in Bangalore, India. Strictly my own views and not my employer's.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today