Archive for the ‘glassfish’ Category

Java EE testing with GlassFish and modern frameworks

Январь 18th, 2012

Note: if you're reading this using a feedreader, please make sure you've updated to the updated TheAquarium feed.

Integration testing of Java EE developments is an important topic both Markus Eisele and Antonio Goncalves have recently covered in respective blogs.

Both use GlassFish and Arquillian while Antonio shows different testing approaches and also throws Mockito into the mix.

ALT_DESCR
ALT_DESCR

On the same topic, I'd recommend reading Adam Bien's OTN article from last September and if you can read French, you might also find this JavaEE Testing presentation of interest.


PlanetMySQL Voting: Vote UP / Vote DOWN

Contributor agreements, a reminder and an update

Сентябрь 21st, 2011

One of the many things that hasn't changed with GlassFish since the acquisition is how we welcome contributions from the community (in fact we've seen an increased number of those recently).

ALT_DESCR

The Oracle Contributor Agreement, or OCA (born as the SCA) is a required document before we can accept such contributions and a fairly common practice in open source projects. One important thing that has changed for the OCA is the email address to use for signed contributor agreements :
            <oracle-ca_us@oracle.com>

One thing that will change is the location of the public list of the OCA signatories. For the time being you can find a consolidated and updated list for GlassFish, OpenJDK, NetBeans, MySQL and more on java.net.

The OCA FAQ document (which is still frequently being updated) lists a good number of answers to questions such as "What does the OCA do?", "Why do you have a Contributor Agreement?", "What if I'm contributing on behalf of my company?", "What can Oracle do with my contribution?" and many more.


PlanetMySQL Voting: Vote UP / Vote DOWN

FISL12 Trip Report — Special Appearance by "Javali" and "Code Monkey"

Июль 3rd, 2011

FISL is the biggest open source conference in Latin America and had about 7000 participants in the FISL 12 that concluded earlier this week. This was my third consecutive year (2010 and 2009) and as every year the conference was packed with lectures, workshops, demonstrations, booths, presentations, and lot more.

Anil Gaur, VP of Java EE Platform and GlassFish, gave a presentation on "Oracle GlassFish Server: A flexibly, light-weight, and production-ready Java EE 6". There were about 100 attendees in the theatre-style seating. The talk gave a great overview of the explosive growth happening in the GlassFish community on all fronts. It also gave an overview of how GlassFish is the first platform to provide clustering and high-availability for Java EE 6 applications with full commercial support from Oracle. The 2-instance session failover demo that I started to show in the talk did not work completely and my digging is still going on but here is a basic analysis so far.
  • The GlassFish High Availability depends on GMS which further relies on UDP Multicast (more details here). I've shown this demo on my previous machine (a Macbook) multiple times and in different configurations of with or without an IP address. But multicast is enabled by default on Macs. However Natty Narwhal does not seem to be configured that way, at least by default. And so even though I could create a cluster, the application with HA enabled could not be deployed. 
  • The GlassFish 3.1 Certification Matrix provides a complete list of supported platform and Ubutnu 10.10, not 11.04 (demo machine), is listed as a supported developer platform. There might be bugs in this newest release of Ubuntu or how Grizzly picks a network interface for binding when there is no bind interface address setup and the default interface (eth0) is not connected.
More details on how this will eventually get fixed in a later blog.

Other than that I gave two presentations on "The Java EE 7 Platform: Developing for the Cloud" and "Running your Java EE 6 Applications in the Cloud: and the slides are now available:


There were about 60+ attendees for the 9am talk on Java EE 7. Check out more details about the evolution of Java EE 7 at javaee-spec.java.net. All the component JSRs have their independent pages as well with the format: <component>-spec.java.net where <component> is "jpa", "ejb", "servlet" and "jsf".


The second preso turned out a lot more fun than originally planned with the two surprise co-speakers - "Javali" and "Code Monkey". The audience seem to enjoy the interesting conversation as part of the talk, pictures below. There is usual engaging with the community, talking to folks at the booth, explaining Oracle's open source strategy, and customer visits.

Also, check out Java Spotlight podcast #36 where Anil Gaur talks about GlassFish 3.1.

There were several other talks given by Oracle employees covering JDK 7, NetBeans, OpenJDK, MySQL and other open source offerings.

Check out some pictures from the event:

















And, as always, the evolving album:


See you next year!

Now on to Sao Jose do Rio Preto ...


PlanetMySQL Voting: Vote UP / Vote DOWN

Get social and healthy with GlassFish

Апрель 4th, 2011

Two new stories have been published this week and both of them use GlassFish 3.1 in production. If you haven't seen them before, "Stories" is a blog with production use of GlassFish by small, medium, and large users with user questionnaires describing their experience with the rest of the community.

The first story is PointDebate, a "social network company that stir up, engage and give voice to most diverse opinions". They've been following pretty closely all the recent updates of GlassFish and now run the latest 3.1 version (only a month after it was released). They application is built using Java EE 6 and JSF in particular with RichFaces. The full architecture includes MySQL as well as EHCache and uses JMS to "decouple operations" (an somewhat underutilized architectural pattern if you ask me).

ALT DESCR
ALT DESCR

The second story, TinyHabits, an online service "to maintain a healthy lifestyle despite leading a busy life that leaves very little time to incorporate healthy habits" is yet another Java EE 6 application with GlassFish as a platform chosen for its simplicity and robust administration and monitoring. This service also just moved to the latest and greatest version 3.1 (from 3.0.1), also uses JSF 2.0 (with PrimeFaces this time), uses both PostgreSQL and MongoDB and runs production on Amazon EC2. Check it out.


PlanetMySQL Voting: Vote UP / Vote DOWN

Java One 2010 Brazil Day 2 Trip Report — Pics & Slides

Декабрь 9th, 2010
JavaOne Latin America 2010 (Day 1 and 0) started in an exciting way where I found a nice multi-instance cluster installation of GlassFish. More on that later but enjoyed meeting colleagues from different groups within Oracle.

I gave a presentation on "Whats New in Enterprise Java Beans 3.1" and the slides are available:


The attendees seem to like simplified packaging (EJB-in-a-WAR and deployment descriptor-free), no-interface bean, cron-like syntax, and other features were well appreciated by the users. All other sessions were going pretty packed as well to the extent that some of the sessions are having a re-run today and some of today's sessions have moved to a much bigger hall. Make sure to note the changes.

After that, Alexandra and I presented at a MySQL Community Event on how Java EE 6, GlassFish, NetBeans, and MySQL present an ideal open-source stack for building Web applications very easily, the slides are available:



Vinicius Senger from GlobalCode arranged an impromptu discussion on Java-based Web Frameworks at end of the day. There were representations from Java EE 6, Wicket, GWT, VRaptor,  Spring MVC, ADF, and Demoiselles. It was a lively discussion where each framework was talking about the pros/cons of different frameworks and the community was asking questions. CDI got good appreciation from different folks and it indeed is one of the most powerful technologies introduced in the Java EE 6 platform.

Matt Raibles "Comparing JVM Web Frameworks" presentation was discussed as well. The consensus was that the chosen frameworks are not an apple-to-apple comparison. For example, while Rails and Grails are complete stack, JSF2, Wicket, and Vaadin are presentation layers only. I gave the same feedback to him at Rich Web Experience as well so hopefully the matrix will be updated appropriately.

Also found some great deployments of GlassFish in this part of the world. We are looking for partners (System Integrators, Independent Software Vendors/Developers, Consultants, Training Partners) who can help us spread the message of GlassFish in South America. Drop a comment on this blog if you are interested.

For tomorrow, there are couple of changes to the list of Java EE 6 & GlassFish sessions ...
  • "S320003 - Servlet 3.0 Extensible, Asynchronous and Easy to Use" moved from its original slot of (4:15 - 5pm) to (4pm - 4:45pm) and the location changes from Auditorio 1 to the Keynote Hall (on the ground floor).
  • "S313189 - Complete Tools Coverage for the Java EE 6 Platform" moved from Auditorio 1 to Keynote Hall (on the ground floor).
Rest of the schedule stays as is.
And now day 2 pictures from Oracle Open World and JavaOne 2010 in Brazil ...












And finally the evolving photo album so far:





On a personal front, somebody mentioned the landscape from Chili, food from Peru, and girls from Argentina (or Brazil depending upon who you ask) is the most fascinating threesome ;-) I've never been to Chili, Peru, and Argentina so will have to figure out how to experience that :-) Any Java conferences there ?

Also, its weird to experience Christmas in the hot weather of Sao Paulo. I wonder the white christmas here refers to white sand on the beach.  The malls certainly have huge christmas trees and even there is a Santa station but feels awkard without the cold weather. Tomorrow is the last day of JavaOne and I'm soooo looking forward to head back home and can only think of the following song ...



Technorati: conf glassfish mysql brazil javaone oracle oow
PlanetMySQL Voting: Vote UP / Vote DOWN

Oracle Open World / Java One 2010 Brazil Day 1 Trip Report

Декабрь 8th, 2010
Oracle Open World 2010 Latin America was kick started this morning by Oracle's President Mark Hurd. Later Adam Messinger's (Vice President in Fusion Middleware group at Oracle) keynote started JavaOne Brazil and gave a status update on the Java platform. In his talk, Staffan showed a demo of JRockit Mission Control. TIM (a local Brazilian telecom company) showed how they are using Java to serve multi-million users in Brazil. Java FX super fast rendering capabilities were shown in a video. I showed how a multi-instance GlassFish 3.1 cluster can be easily created using web-based administration console. The steps to reproduce the demo are explained in the video below:



I accidentally left my tweetdeck open before the demo machines were locked and so tweets were popping all through out the demo. The attendees seem to had a good laugh at that :-)

The three Technical General Sessions by Danny Coward, Jerome Dochez, and Greg Bollela dig deeper into Java SE, Java EE, and Mobile/Embedded platforms. Jerome's talk showed a typical 3-tier application that allows the user to monitor twitter trends for pre-defined hashtags. More details about the application and downloadable code are available here.



And now day 1 pictures from Oracle Open World, Oracle Develop, and JavaOne 2010 in Brazil ...












Come by and meet us at the Java EE 6 booth in the JavaOne exhibitor floor. I reached little bit late to the OTN party but the place was totally rocking with the community.

This is Brazil so here is a sample of "booth models" at the exhibitor floor ...


This is not meant to offend anybody but just to show culutral shift obvious due to the geography. And yes, I took permissions from each of the models before taking their picture :-)

Here is another fun activity performed on the exhibitor floor:



Looking forward to Java EE & GlassFish sessions tomorrow and day after. And don't forget to attend the FREE MySQL Community Event tomorrow!

I enjoyed meeting Vinicius Senger, Yara Senger, Daniel deOliveira, Sven Reimers, Eduardo Lima, and several other Java community members.

And finally the evolving photo album so far:





Technorati: conf glassfish mysql brazil javaone oracle oow
PlanetMySQL Voting: Vote UP / Vote DOWN

Oracle Open World / Java One 2010 Brazil Day 0 Pictures

Декабрь 7th, 2010
First set of pictures from Oracle Open World, Oracle Develop, and JavaOne 2010 in Brazil ...












And a picture from dinner with local Java champions and JUG leaders of Brazil ...



Looking forward to meet many others over the next 3 days.

And the evolving album so far:




JavaOne Brazil
starts in a few more hours and here are some pointers for you:
Technorati: conf glassfish mysql brazil javaone oracle oow
PlanetMySQL Voting: Vote UP / Vote DOWN

TOTD #150: Collection of GlassFish, NetBeans, JPA, JSF, JAX-WS, EJB, Jersey, MySQL, Rails, Eclipse, and OSGi tips

Ноябрь 18th, 2010

This is the 150th tip published on this blog so decided to make it a collection of all the previous ones. Here is a tag cloud (created from wordle.net/create) from title of all the tips:

As expected GlassFish is the most prominent topic. And then there are several entries on NetBeans, JRuby/Rails, several Java EE 6 technologies like JPA, JAX-WS, JAX-RS, EJB, and JSF, and more entries on Eclipse, OSGi and some other tecnhologies too. Here is a complete collection of all the tips published so far:

Just for fun, here is another tag cloud:

You can access all the tips here. And keep those suggestions coming!

Technorati: totd glassfish netbeans jpa jsf jaxws jersey mysql rails osgi eclipse


PlanetMySQL Voting: Vote UP / Vote DOWN

GlassFish scales and configures very quickly for Micello — the «indoor Google Maps» company

Сентябрь 30th, 2010
We all (at least majority of us) use some sort of maps to reach from one destination, say home, to another destination, say a shopping mall or a convention center. But once you've reached the mall then you switch to a different set of tools to navigate that is typically either a paper flyer or sign boards within the mall. Micello.com fills that gaps by providing maps for any indoor locations like airport, shopping malls, convention centers, retail centers, and college campus.


Their application is built using "scalable stack" of GlassFish and MySQL, uses RESTful Web services, and has given them a 99.9% uptime in the past few months - no wonder its used to create indoor maps for 50 malls in Singapore. Listen all the details on Micello from Prakash in the video below:

Micello has been talked about at readwriteweb.com, techcrunch.com, and mashable.

How are you using GlassFish today ?

Technorati: stories micello google maps glassfish mysql


PlanetMySQL Voting: Vote UP / Vote DOWN