Miles to go ...

Arun Gupta is a GlassFish Evangelist focusing on Web Tier at Sun. He was the spec lead for APIs in the Java platform, committer in multiple Open Source projects, participated in standard bodies and contributed to Java EE and SE releases.
Main | Next page »

http://blogs.sun.com/arungupta/date/20090627 Saturday June 27, 2009

FISL 2009 Day 4 in Pictures


Continuing from Day 1, 2 and 3 ...












And the complete album:



Now looking forward to head back home!

Technorati: conf brazil fisl glassfish del.icio.us | furl | simpy | slashdot | technorati | digg |
|

Porto Alegre - I shoot you, you shoot me


The picture was taken at FISL 10, Porto Alegre, Brazil.



Any guess who's behind the camera ?

Similar blog entries are here.

Technorati: photos brazil portoalegre shootme

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

FISL 2009 Day 3 in Pictures & Videos


Continuing from Day 1 and 2 ...

I participated in Simon Phipps Talk Show on GlassFish and that was fun :) The usual points:

  • ~50% of the projects currently target GlassFish and that the number jumps to 73% when only counting new projects (according to Ohloh reports)
  • Best price/performance, First to be Java EE 5 compliance and Most downloaded application server
  • The GlassFish download numbers are much higher than JBoss.
  • Brazilian community loves GlassFish over JBoss
Somebody in audience has been using GlassFish for past one year and very happy with it's performance.

I also delivered the Hudson talk on behalf of Fabiane Nardon. Hudson is an open source Continuous Integration system that is highly extensible and has a very healthy ecosystem around it. The slides are available here and can also be viewed below:


Now pics from the day ...












The Brazilian President Lula visited the pavilion but I left early so never got to see him ;-)

The speaker's dinner at 35CTG Churrascaria was nothing special but there were some real good live performances made the whole thing worthwhile. Enjoy it below:





And the evolving album:



See you in couple of hours at the last day of FISL and then finally head back to home :)

Technorati: conf brazil fisl glassfish hudson del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20090626 Friday June 26, 2009

Digital TV-based Banking using GlassFish, NetBeans and MySQL - Ginga community in Brazil


Learn how GlassFish and NetBeans helped Ginga community to build a TV Banking application in Brazil. See a live demo of the product, it's really exciting!

Why GlassFish ? - They love how NetBeans tooling completely hides the complexity of what's happening underneath and the ease-of-use with GlassFish.


Thanks Hugo Lavalle for the interview and good luck with your product!

Technorati: conf fisl brazil glassfish story netbeans mysql ginga digitaltv banking

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

Porto Alegre - I shoot you, you shoot me


The picture was taken at FISL 10, Porto Alegre, Brazil.



Any guess who's behind the camera ?

Similar blog entries are here.

Technorati: photos brazil portoalegre shootme

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

supercrud.com in Brazil picked GlassFish over JBoss - Find out why!


Vinicius Senger, founder of Globalcode - a Java training/consulting company in Brazil, is running supercrud.com on GlassFish instead of JBoss.

He is a Java EE architect, consultant, trainer, and do Java EE related research as well. He is a JSF 2 Expert Group member, find NetBeans and GlassFish integration amazing and feels its getting better all the time. He runs supercrud.com on GlassFish. The reasons to pick GlassFish over JBoss:

  • Much easier to install
  • Easy to manage (data sources, EJBs, redeployments) using web-based administration console
  • Don't use clustering today but know it's another good feature
He thinks that Brazilian community's expectation was expecting much more from JBoss. He is seeing lot of Brazilian companies and developers moving to GlassFish because it's
  • Faster
  • More modular
  • Faster redeployment
  • Better integration with NetBeans/Eclipse
Hear the short interview recorded at FISL earlier this week:


A formal production story will be published soon as well. Thanks Vinicius for the interview!

Technorati: conf brazil fisl javali glassfish story del.icio.us | furl | simpy | slashdot | technorati | digg |
|

FISL Day 2 in Pictures & Videos


Continuing from FISL Day 1 ...


Here is a video of the ever excited Brazilian community for soccer balls in the pavilion:


If you didn't get a soccer ball, come by at the Sun booth tomorrow and make sure to practice like the folks below:


The day ended with a nice soccer match between Internacional and LDU Quito from Ecuador at Beira Rio stadium. Feel the enthusiasm in the video below:


We kept waiting for Internacional to score but guess it was not there day and they lost 1-0 :(

On to Day 3 in couple of hours ....

Technorati: conf fisl brazil internacional soccer football
del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20090625 Thursday June 25, 2009

Porto Alegre - I shoot you, you shoot me


The picture was taken at FISL 10, Porto Alegre, Brazil.



Any guess who's behind the camera ?

Similar blog entries are here.

Technorati: photos brazil portoalegre shootme

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

Running inside Parque Moinhos de Vento, Porto Alegre


I ran 10 laps in Parque Moinhos de Vento and it felt good :)



After strength training for past 2 days at the hotel, felt nice to run outside.

Anybody interested in running together until Sunday ?

Technorati: conf fisl running portoalegre

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

Porto Alegre - I shoot you, you shoot me


The picture was taken at FISL 10, Porto Alegre, Brazil.



Any guess who's behind the camera ?

Similar blog entries are here.

Technorati: photos brazil portoalegre shootme

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20090624 Wednesday June 24, 2009

FISL 2009 Day 1 Report




I presented on "Creating powerful web applications using GlassFish, MySQL and NetBeans/Eclipse" as the first talk of FISL 10 yesterday. The room was only partial full being the first talk of FISL but got packed towards the middle so that was exciting. The slides are available here.

The key message is that NetBeans and Eclipse provide a seamless development/deployment environment for GlassFish.

The several demos shown in the talk are explained at:

And you can find a lot more information on the Portuguese TheAquarium.

The soccer balls at the Sun booth in the pavilion were quite a hit as evident by the video below:


Come by again at Sun booth until the end of conference to get one for yourself :)

There were booths from Debian, Gnome, Firefox, Fedora and a host of other open source projects. There were community booths from local Java User Groups, Linux User Group, Open Solaris User Group and similar efforts. Some government and financial companies that heavily use/promote open source products were also present. And then there were other commercial vendors as well!

Some attendees were playing musical instruments to the local tunes which added to the festive atmosphere in the exhibitor floor. Enjoy the video below:


The day ended with great food at Na Brasa Churrascaria, love the caipirinhas!

Here are some pictures from Day 1:












This is the 10th anniversary of FISL and so here is the timline over the past years as shown in the exhibitor pavilion:






And the evolving album:



See you in few hours at the FISL.

Technorati: conf brazil fisl glassfish mysql netbeans eclipse
del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20090623 Tuesday June 23, 2009

Javali 2009 Trip Report


I, along with several other speakers, presented at Javali (an ancillary event of FISL) earlier today. The event was sponsored by Sun Microsystems. Many thanks to Sou Java and RS JUG for organizing the event and thanks to Serpro for hosting the event.

There were several speakers from different companies making the event a good mix.

I presented on Java EE 6, showed GlassFish Tools Bundle for Eclipse and gave a brief overview of some of the enterprise features of GlassFish.

The Java EE 6 focuses on making the platform more powerful and adding more flexibility. The power is added by revamping several existing specifications such as Servlet 3.0 and Java Server Faces 2.0. The flexibility is incoporated by several mechanisms. The first is the ability to define a profile targeted at a particular bundle of technologies, such as Web profile defined by the JSR 316 EG (more details). Secondly, some of the existing specifications that are not widely used, such as JAX-RPC or JAXR, now can be pruned from the platform. And lastly third-party libraries can be easily registered using "web-fragment.xml" (more details). All these together make the entire platform really powerful and flexible.

The GlassFish Tools Bundle for Eclipse provide an integrated bundle based on Eclipse Ganymede 3.4.2 with GlassFish v2.1 and v3 integrated and pre-configured. These bits can also be installed on Eclipse Galileo (to be released soon) as a separate plugin. The features like Deploy-on-save and Session-preservation boosts the productivity tremendously allowing the developer to focus on business logic. Screencast #28 shows more details how to easily get started.

The enterprise features of GlassFish covered were:
There were approximately 50 attendees physically present in the room but many others in the mutliple video conference rooms and on the Internet. Bruno told me that there were 92 viewers on the public Internet and 132 within Serpro after my talk, so that's cool :) The slides presented are available here (Java EE 6) and here (Enterprise Features).

Brian Leonard's talk on "Developing beyond localhost" showed practical strategies of taking an application developed on the localhost and ensuring it works in the deployed environment. The basic strategy was WOTE (Write Once Test Everywhere) for any application developed within an IDE. He showed how to create a JNLP of a web application and deploy on GlassFish Web Stack. Some of the common mistakes like local filesystem URLs and database URLs can be easily diagnosed by testing the application using multiple Virtual Box images.

Roger Brinkley's talk on Mobile and Embedded is always fun. He basically talked about updates happened within that community in past one year. I caught up only during the last part where he showed a demo of Sensor Motor Gloves created by the community, the video is available below:



Fabiane's talk on Continuous Integration with Hudson showed how to setup and configure Hudson. The cool part was the sunspot integration where a build failure lights up the LEDs on a sunspot device.

Pat Patterson's talk on "Securing RESTful Web services using Open SSO" gave an overview of the Open SSO community. He then explained the purpose of OAuth and how it's integrated in OpenSSO using Jersey extensions.

Met Campus Ambassadors from Porto Alegre and Sao Paolo which is always refreshing.

Talked to Vinicius Senger who is a Java EE architect and runs supercrud.com. This website allows you to create an online application domain model and then generate templates for different technologies such as Java Server Faces, JPA, Spring/Hibernate, and others. The website is running on GlassFish and more details on why he picked GlassFish instead of JBoss will be available in a formal GlassFish story, thanks Vinicius! I recorded a short interview that will be published this week as well.

There were other Portuguese speakers who were able to connect with the audience much better ;-)

Bruno and Mauricio played an excellent role of translating from English -> Portuguese for the local audience, thanks!

The day ended with a great pizza party with interesting toppings like corn/onion, banana, chocolate and others too :)

Here are some pictures from the past couple of days:



And the evolving album:



See you tomorrow morning at 9am/40T in "Creating Quick and Powerful Web Applications with MySQL, GlassFish, and NetBeans/Eclipse" talk at FISL.

Technorati: conf brazil fisl javali glassfish
del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20090620 Saturday June 20, 2009

ClustrMaps Archive - Jun 20, 2009


The clustrmaps on this blog are scheduled to be archived sometime around today. And so here is a snapshot of visitors to this blog from Jun 20, 2008.



The legend is:



And here is the same map with smaller clusters:



The entries tagged milestogo show other similar statistics.

Technorati: blogs bsc milestogo clustrmaps

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20090619 Friday June 19, 2009

GlassFish Fans in Minnesota


I received the following photographs from a GlassFish Fan (aka Ben Leadholm) in Minnesota.



And here is a picture of his daughter, Rachel, sporting the fancy GlassFish tattoo:



Thanks Ben and Rachel for promoting/using GlassFish and sharing the pictures!

Do you have any similar pictures ? Send me an email arun dot gupta at sun dot com and will be happy to share them with others.

The GlassFish number plates and Tattoos (and much more) were distributed at the recently concluded JavaOne 2009.

Technorati: conf javaone glassfish minnesota

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20090618 Thursday June 18, 2009

TOTD #85: Getting Started with Django Applications on GlassFish v3

GlassFish v3 is an extensible App server. Basically the core App server functionality can be easily extended using add-ons such as an OSGi module. This allows to keep the core light-weight and install the required features on demand. The add-ons can be easily installed using the Update Center. The what/why/how about extensibility is described in the GlassFish v3 Extensibility One-pager.

GlassFish v3 provides support for Dynamic Languages and Web Frameworks such as Ruby-on-Rails, Groovy/Grails, and Python/Django using this extensibility. This blog has published multiple tips on using Ruby-on-Rails at rubyonrails+totd and a few tips on Groovy/Grails at grails+totd. This blog will explain how to get started with deploying Python/Django applications on GlassFish v3 Preview. The blog will use Jython interpreter which is the Java implemention of Python.

Vivek already blogged about the detailed instructions and this blog shows how to run the pre-bundled samples.

  1. Download GlassFish v3 Preview.
  2. Install Jython 2.5
    1. Download Jython 2.5 from here
    2. Install as:

      java -jar ~/Downloads/jython_installer-2.5.0.jar

      Choose the default options (pick your directory) as shown below:



      and click on "Next" to start the installation process.
    3. As mentioned in Django on Jython wiki, create the following aliases:

      alias jython25=~/tools/jython2.5.0/bin/jython
      alias django-admin-jy="jython25 ~/tools/jython2.5.0/bin/django-admin.py"

    4. Invoking the command "jython25" from the installation directory shows the Jython interpreter as:

      ~/tools/jython/jython2.5rc4 >jython25
      Jython 2.5rc4 (Release_2_5rc4:6470, Jun 8 2009, 13:23:16)
      [Java HotSpot(TM) 64-Bit Server VM (Apple Inc.)] on java1.6.0_13
      Type "help", "copyright", "credits" or "license" for more information.
      >>>

  3. Install Django
    1. Download Django 1.0.2 from here.
    2. Install Django 1.0.2 as:

      ~/tools >tar xzvf ~/Downloads/Django-1.0.2-final.tar.gz
      Django-1.0.2-final/
      Django-1.0.2-final/AUTHORS
      Django-1.0.2-final/django/
      . . .
      Django-1.0.2-final/scripts/rpm-install.sh
      Django-1.0.2-final/setup.cfg
      Django-1.0.2-final/setup.py
      ~/tools/Django-1.0.2-final >jython25 setup.py install
      running install
      running build
      running build_py
      . . .
      running install_egg_info
      Writing /Users/arungupta/tools/jython/jython2.5.0/Lib/site-packages/Django-1.0.2_final-py2.5.egg-info

  4. Install Jython container for GlassFish
    1. Start GlassFish v3 Preview Update Center using the following command:

      ~/tools/glassfish/v3/preview/glassfishv3/bin >./updatetool 

      to see the screen as:


    2. Select "GlassFish v3 Jython Container" and click on "Install", "Accept" the license and complete the installation. Close the Update Center window. This installs Jython Container OSGi module and Grizzly Adapter JARs in the "glassfish/modules" directory.
  5. Start and configure GlassFish
    1. Start GlassFish as:

      ~/tools/glassfish/v3/preview/glassfishv3/glassfish >./bin/asadmin start-domain

    2. Configure Jython in GlassFish as:

      ~/tools/glassfish/v3/preview/glassfishv3/glassfish >./bin/asadmin create-jvm-options -Djython.home=/Users/arungupta/tools/jython2.5.0
      created 1 option(s)

      Command create-jvm-options executed successfully.

      Make sure to specify the directory where Jython is installed.
  6. Deploy the samples bundled with the Django installation as:

    ~/tools/Django-1.0.2-final/examples >~/tools/glassfish/v3/preview/glassfishv3/glassfish/bin/asadmin deploy .

    Command deploy executed successfully.

    and now they are accessible at "http://localhost:8080/examples/" and shown as:



    Make sure to specify the end "/" otherwise the context root is not resolved correctly and none of the links will work.

    Click on "Hello World (HTML)" to see the output as:



    And click on "Displaying request metadata" to see output as:



    The same sample can, of course, run using the built-in development server as:

    ~/tools/Django-1.0.2-final/examples >jython25 manage.py runserver
    Validating models...
    0 errors found

    Django version 1.0.2 final, using settings 'examples.settings'
    Development server is running at http://127.0.0.1:8000/
    Quit the server with CONTROL-C.

    and then accessible at "http://localhost:8000" as:

More details are available in Django Tutorial. The subsequent blogs will provide more detailed samples.

If you are using GlassFish v2 then Django applications can be deployed as a WAR file as explained here.

Please leave suggestions on other TOTD (Tip Of The Day) that you'd like to see. A complete archive of all the tips is available here.

Technorati: totd glassfish v3 django python del.icio.us | furl | simpy | slashdot | technorati | digg |
|
Main | Next page »

Valid HTML! Valid CSS!

This is a personal weblog, I do not speak for my employer.