Miles to go …

December 25, 2009

Java EE 6 & GlassFish v3 Deep Dive

Filed under: General — arungupta @ 2:00 pm

Merry Christmas!

Get a quick overview of Java EE 6 & GlassFish v3 in this 2-part Deep Dive video (running time of 19:17 mins) with Ed Ort from Sun Developer Network.

Here are some other relevant links:

  • Introducing the Java EE 6 Platform
  • Java EE at a Glance
  • GlassFish Community
  • Sun GlassFish Portfolio
  • Java EE Training & Certification

Technorati: javaee glassfish v3 deepdive interview

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

December 17, 2009

IndicThreads Conference 2009 – Trip Report

Filed under: General — arungupta @ 11:30 pm

I attended my first IndicThreads conference, fourth otherwise, in Pune last week.

This local conference fits very well with "Think Globally, Act Locally" theme. The topics were quite varied ranging from Scala, Lift, Google App Engine, Android, GWT, Distributed Scrum, and of course Java EE 6 & GlassFish v3. All the speakers were well versed with the content and the audience was pretty interactive. Keeping global warming into consideration, the conference adopted the theme of  Go Green. The conference setup provided a great opportunity for social networking.

Here are some of the reasons to attend / sponsor IndicThreads:

  • The conference is the oldest independent event in India focused on Java technology.
  • Pune contributed Rs 25,000 crore ($5.3 billion) in 2008-09 in IT exports with an impressive growth of 24%.
  • There are several major companies like Wipro, Infosys, Cognizant, Accenture, Sybase, Tech Mahindra, WebEx based in Pune.
  • October to March is the best time to visit Pune.
  • The city of Pune certainly offers a really fine cuisine, as evident in the images below.

I presented on:

  • Java EE 6 & GlassFish v3: Paving path for the future
  • Dynamic Languages & Web Frameworks in GlassFish v3

and the slides are available. Unfortunately the graphics card of my MacBook failed the evening before the conference. So I had to rush to Apple Care center and retrieve my presentations from the hard disk. Fortunately that worked and the slides could be used. There are several blog pointers through out the presentation for the demos shown during the talk:

  • NetBeans and Eclipse tooling for Java EE 6 using GlassFish v3
  • GlassFish v3 Administration and REST interface
  • Ruby on Rails, Groovy and Grails, Python and Django deployment on GlassFish v3
  • Develop / Deploy / Debug Rails application using NetBeans and GlassFish v3
  • GlassFish Gem for Rails / Merb / Sinatra / Rack
Java EE 6 & GlassFish v3: Paving path for the future

Dynamic Languages Web Frameworks Indicthreads 2009

Get the complete set of presentations at the conference from this playlist:

SlideShare

Sun Microsystems raffled a Sunspot to the winner of "Java and Green" quiz. Here are the questions:

  1. When was the GlassFish community started ? Tick the right answer.

    1. 2004

    2. 2005

    3. 2006

    4. 2007

  2. Which framework is not supported natively by GlassFish ?

    1. Ruby on Rails

    2. Django

    3. Groovy and Grails

    4. Java EE

  3. Which specifications is not new or did not get a major update in Java EE 6.

    1. Context & Dependency Injection

    2. Managed Beans

    3. Servlet 3.0

    4. JAX-WS

  4. What 3 IDEs have support for Java EE 6 ?

  5.   pan>Name 4 HTTP methods that let you perform RESTful Web services.

  6. Sun Microsystems is now a division of Oracle.

    1. True

    2. False

  7. Name 3 “green” initiatives at IndicThreads Conference 09.

  8. When was IndicThreads.com created?

    1. 2004

    2. 2005

    3. 2006

    4. 2007

  9. The United Nations Climate Change Conference is happening in:

    1. Copenhagen

    2. Belgium

    3. Geneva

Lets see how many can you answer :-) Thanks Aaron Houston for sponsoring the Sunspot.

Watch Harshad Oak, first Java champion in India and founder of the conference, talks about how the conference, intended audience, message to sponsors, and other messages in this short video:

Here are some photographs from the conference:

And here is the complete set of pictures captured by me:

And here is the complete album captured by the conference:

Here are couple of additional reviews of the conference:

  • Post conference recap: The 4th Indicthreads.com conference on Java Technology
  • IndicThreads Java Conference – What a Experience

Looking forward to participate in this conference next year!

Technorati: conf indicthreads pune india glassfish javaee netbeans eclipse java

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

December 16, 2009

Pictures from GlassFish v3 Launch Party @ Santa Clara, California – Dec 16, 2009

Filed under: General — arungupta @ 9:34 pm

The GlassFish team celebrated the release of GlassFish v3 at Santa Clara earlier today. There was food, cake, beer, wine, tequila, tee-shirts, quiz contest, iPod shuffle raffles and above all the usual GlassFish spirit which made it extremely fun. See some of the pictures inlined:

And the complete album at:

See the complete set of GlassFish v3 Launch activities.

Did you conduct GlassFish launch party in your geo ? Please feel free to share pictures.

Technorati: glassfish v3 party santaclara

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

December 8, 2009

TOTD #116: GlassFish v3 Administration using JavaFX front-end – JNLP available

Filed under: General — arungupta @ 4:00 am

As mentioned in TOTD #113, this Tip Of The Day (TOTD) provides a working version of the JavaFX front-end for GlassFish v3 administration.

Please click here to launch the JNLP or click here to a page that provides some introduction along with the link to JNLP. You may like to enable Java Console as explained in TOTD #114 for any log messages.

See a video of the tool in action:

Many thanks to Rajeshwar for providing feedback and helping me understand the RESTful interface better. TOTD #96 explains how the REST interface can be used.

Here is a TODO list in no particular order:

  • Show a splash screen after the startup to indicate server status
  • Allow the administration host/port to be changed
  • Tie the "server stats" with the server uptime instead of fetching once and then binding it locally
  • Provide dynamic updates of the monitoring data, currently its a snapshot
  • Convert the monitoring levels text boxes to radio buttons
  • Provide complete hints on setting monitoring level based upon the engines
  • Enable/Disable the buttons based upon the status of server running (or not)
  • Introduce charts to track dynamic shrink/expand of threads/pools/etc.
  • Probably something else that I’m forgetting :-)

How are you using JavaFX with GlassFish ?

How will you use GlassFish v3 REST interface in your tools ?

Technorati: totd javafx glassfish v3 rest web jruby rubyonrails rest administration monitoring management

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

December 7, 2009

Java EE 6 Training & Certifications – Register Early!

Filed under: General — arungupta @ 4:00 am

Java EE 6 is now an approved specification, the Reference Implementation (GlassFish v3) and TCK will be released soon!

The associated training curriculum and certifications are being worked upon by Sun Learning Services. The curriculum has gone through a complete overhaul for Java EE 6 & GlassFish v3 and will be available in Q1 2010. If you are interested in getting notified when these new courses are released and also receive special introductory promotions, then please register here.

There are technology specific "deep-dive" training courses and tied to new technology specific certifications. You just need to specify your interest in the particular technology and will be contacted once the courses & certifications are available.

In the meanwhile, you can follow any of the existing Learning Paths to brush up your skills.

Technorati: javaee glassfish v3 training certification

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

December 4, 2009

TOTD #115: GlassFish in Eclipse – Integrated Bundle, Install Stand-alone or Update Existing plugin

Filed under: General — arungupta @ 4:00 am

There are three options for Eclipse users interested in exploring GlassFish. They can either use an integrated bundle, install the GlassFish plug-in in an existing Eclipse version, or update an older GlassFish plugin in a stand-alone Eclipse to the latest version. These options are explained below.

GlassFish Tools Bundle for Eclipse 1.1 is an integrated bundle based on Eclipse 3.4.2 and includes GlassFish v2 and v3 Prelude pre-registered and configured and optionally JDK 1.6 U12. The work towards version 1.2 can be tracked by following the 1.1.x releases (1.1.7 is the latest). This new version is based on Eclipse 3.5.1, includes GlassFish v3 build 74 pre-registered and configured, several plugins (JSF Facelets, JAX-WS, Maven m2) and several Java EE 6 wizards to provide a seamless development and deployment experience with Java EE 6 & GlassFish v3. There are several other niceties in the newer release like pre-registered MySQL JDBC driver, updated Java EE 5 and Java EE 6 javadoc and code completion.

However what to do if you are already using an Eclipse version in your environment ?

The basic requirement is Eclipse 3.4+. A GlassFish plugin can be easily installed in any Eclipse 3.4+ and provides all the GlassFish-related functionality. The screencast #28 shows how to get started with Eclipse 3.4.2 and configure GlassFish as a standard server adapter.

If you are using Eclipse 3.5.0, then the standard technique described in the above screencast will not work because of the issue #280365. Fortunately, the bug report also has a workaround. Instead of using the "Download additional server adapter", install using the "Help", "Install New Software …" and explicitly adding the GlassFish plugins update site. A screen snapshot looks like:

If you are using Eclipse 3.5.1, then the standard technique of "Download additional server adapter" works as described in the screencast #28. A screen snapshot looks like:

If you already have an existing version of GlassFish plugin installed, then it can be updated as described in TOTD #66. The process is much more simplified now and menu items have changed little bit in Eclipse 3.5.x – "Check for Updates" instead of "Software Updates …". The screen snapshot looks like:

Now you can start developing your applications using Eclipse. Several blog entries have already been published:

  • TOTD #102 explains how to use Servlet 3.0 and EJB 3.1 wizards in Eclipse.
  • TOTD #99 explains how to create a JPA 2.0 compliant application.
  • TOTD #98 explains how to create a Metro JAX-WS Web service.
  • TOTD #54 shows how to create a JavaServer Faces application with Eclipse.

Future blogs will provide more details on the new features added recently. Until then, the GlassFish Plugin Release Notes provide a summary.

On a slightly different note, you can even run GlassFish with Eclipse Equinox OSGi runtime as explained in TOTD #103.

Technorati: totd eclipse glassfish v3 javaee

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

December 3, 2009

Java EE 6 & GlassFish v3 All Day Virtual Conference – Dec 15, 2009

Filed under: General — arungupta @ 1:56 pm

Java EE 6 specifications are already approved! The Reference Implementation in GlassFish v3 and TCK will be released next week. An all-day virtual conference is planned on Dec 15, 2009 to provide all the details about the platform and the associated RI. The event will allow you to hear from the Java EE 6 specification leads, product leads and the engineering team.

Mark your calendars and get ready to drink from the firehose!

The complete event details with abstracts, speaker bios and more is available here.

Technorati: javaee glassfish v3 conf webinar

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

TOTD #114: How to enable Java Console in Mac OS X, Windows, … ?

Filed under: General — arungupta @ 3:00 am

Debugging an applet running with Java plug-in or JNLP application running with Java Web Start in the browser requires the "Java Console" so that debugging messages printed using System.out and System.err can be seen. In Windows, there is a "Show Java Console" menu item in Firefox but clicking it still does not show the console. And this happens because the console window is disabled by default.

However the setting can be easily altered as explained below.

On Mac OS, open "Applications" -> "Utilities" -> "Java Preferences"
On Windows, open "Control Panel" -> "Java"
On any platform, type "javaws -viewer"

Click on the "Advanced" tab to see a window similar to the following on Mac OS X:

And the following on Windows:

Change the "Java Console" setting from "Hide console" to "Show console". Launching your JNLP from the browser next time now will also open the "Java Console" as shown below:

and debugging messages will be nicely printed in the console. Read more about the options displayed in the console here.

Technorati: osxtips windows java console jnlp debugging totd

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

December 2, 2009

Java EE 6 & GlassFish swimming to IndicThreads, Pune, India

Filed under: General — arungupta @ 6:00 am
Java EE 6 is now a JCP approved specification. The Reference Implementation in GlassFish v3 is getting a final dressing and will be released soon, along with the TCK. Along with traditional Java EE applications, GlassFish v3 also allows to deploy dynamic languages & associated Web frameworks like Ruby-on-Rails, Groovy and Grails, Python and Django to be easily deployed. I’ll be explaining these technologies and much more at Indic Threads 2009.

What sessions ? Java EE 6: Paving The Path for The Future (9:40am) and Dynamic Languages & Web Frameworks in GlassFish (3:40pm)

When ? Dec 11 & 12, 2009

Where ? Hotel Orbett, Pune, India

Register Now! The complete agenda is available and you can follow @indicj for the latest updates. Also learn how Indic Threads is going green!

If you are attending the conference, you can win a copy of the "Beginning Java EE 6 Platform with GlassFish v3" book by entering the quiz here.

This book is authored by Antonio Goncalves, a Java Champion, Paris JUG leader, a profound Open Source Evangelist and a senior software architect living in Paris. This is the first book on Java EE 6 & GlassFish v3 and a provides a good insight in the platform and it’s associated implementation.

And unfortunately the Pune International Marathon is on the weekend before the conference. A little bit of heads up would’ve allowed me to reach the city little earlier and run at least the 1/2 marathon. Even the conference hotel does not seem to have a fitness center :( Guess, I’ll try to run by Mutha River. Any other suggestions ?

Would you like to run together ?

What are the local delicacies that I must not miss ?

Anyway, check out the complete GlassFish Events Calendar:

The calendar feeds are available in formats.

Technorati: conf javaee glassfish india pune indicthreads

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

December 1, 2009

Java EE 6 specifications approved by JCP – GlassFish v3 & TCK coming soon!

Filed under: General — arungupta @ 5:00 pm

The Java EE 6 and all other related specifications are now approved by the Java Community Process. Here are the votes cast by different JCP Executive Committee members.

And here is the complete list of specifications in the platform:

  • Java EE 6 (JSR 316)
    • Platform
    • Java EE 6 Web Profile
    • Managed Beans 1.0
  • New Specifications
    • Context and Dependency Injection for Java EE (JSR 299)
    • Bean Validation (JSR 303)
    • Java API for RESTful Web Services (JSR 311)
    • Dependency Injection for Java (JSR 330)
  • Major Updates
    • Java Server Faces 2.0 (JSR 314)
    • Java Servlets 3.0 (JSR 315)
    • Java Persistence 2.0 (JSR 317)
    • Enterprise JavaBeans 3.1 & Interceptors 1.1 (JSR 318)
    • Java EE Connector Architecture 1.6 (JSR 322)
  • Minor Updates
    • Java API for XML-based Web Services 2.2 (JSR 224)
    • Java API for XML Binding 2.2 (JSR 222)
    • Web Services Metadata MR3 (JSR 181)
    • JSP 2.2/EL 2.2 (JSR 245)
    • Web Services for Java EE 1.3 (JSR 109)
    • Common Annotations 1.1 (JSR 250)
    • Java Authorization Contract for Containers 1.3 (JSR 115)
    • Java Authentication Service Provider Interface for Containers 1.0 (JSR 196)
  • As is
    • JDBC 3.0 API
    • Java Naming and Directory Interface 1.2
    • Java Message Service 1.1
    • Java Transaction API 1.1
    • Java Transaction Service 1.0
    • JavaMail API Specification 1.4
    • JavaBeans Activation Framework 1.1
    • Java API for XML Processing 1.3
    • Java API for XML-based RPC 1.1
    • SOAP with Attachments API for Java 1.3
    • Java API for XML Registries 1.0
    • Java EE Management Specification 1.1 (JSR 77)
    • Java EE Deployment Specification 1.2 (JSR 88)
    • Java Management Extensions 1.2
    • Java Authentication and Authorization Service 1.0
    • Debugging Support for Other Languages (JSR 45)
    • Standard Tag Library for JSP 1.2 (JSR 52)
    • Streaming API for XML 1.0 (JSR 173)

The complete list is also available in the Appendix section of the platform specification.

Here is the list of specifications in Web Profile 1.0:

  • Java Servlets 3.0
  • JavaServer Pages (JSP) 2.2
  • Expression Language (EL) 2.2
  • Debugging Support for Other Languages 1.0
  • Standard Tag Library for JavaServer Pages 1.2
  • JavaServer Faces (JSF) 2.0
  • Common Annotations for Java Platform 1.1
  • Enterprise JavaBeans (EJB) 3.1 Lite
  • Java Transaction API (JTA) 1.1
  • Java Persistence API (JPA) 2.0
  • Bean Validation 1.0
  • Managed Beans 1.0
  • Interceptors 1.1
  • Context & Dependency Injection for Java EE 1.0
  • Dependency Injection for Java 1.0

Java EE 6 is an extreme makeover of the platform making it much more powerful, takes the ease-of-use momentum created by Java EE 5 to the next step, and also adds flexibility and extensibility to the platform. See other javaee related posts.

The compliant stack in GlassFish v3 & TCK will be released soon!

Technorati: javaee glassfish v3 jcp

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.
Powered by WordPress