Tuesday June 30, 2009
FISL 2009 wrapped up over the weekend. Even though the
conference officially ended on Saturday but the connections made there
will certainly allow us to continue all the great momentum. The
conference celebrates open source and it was certainly great to see
Federal Government and Banks with their booths in the exhibitor halls.
The visit by Brazilian President Lula certainly highlights the
importance of this conference to the local community. There were booths
from Debian, Firefox, Ubuntu and other major open source softwares.
Some commercial vendors had a booth as well and of course Sun
Microsystems had a big presence with GlassFish,
Open Solaris, NetBeans, MySQL and other offerings.
I delivered 3 talks and participated in 1 talk show:

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
Posted by Arun Gupta in General | Comments[4]
|
|
|
|
|
Wednesday June 24, 2009

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:
Posted by Arun Gupta in General | Comments[7]
|
|
|
|
|
Wednesday June 17, 2009
GlassFish swimming to FISL, Brazil
![]() |
FISL stands for "Forum Internacional Software Livre" in
the Portuguese language and means "International Free Software Forum"
in the English language. The punch line is "A technologia que liberta"
and means "The technology that liberates". This is the biggest event about free software in America and was attended by 7417 participants in 2008. |

Posted by Arun Gupta in General | Comments[10]
|
|
|
|
|
Wednesday April 22, 2009
Offshore monitoring of windfarms using GlassFish - MySQL Users Conference 2009 Day 3
John Powell from eMapSite
stopped by at the Whisper
Suite in MySQL
Users Conference earlier today to talk about his GlassFish
issue. The possible workaround was suggested and then the discussion
became interesting on how GlassFish is used for offshore monitoring of
windfarms and process weather forecasting data. Hear all about it and
watch a flashy demo of their product in this video:
NetBeans,
GlassFish, and MySQL
is their development stack with a "very positive experience"!
Stay tuned for the stories
entry.
And the complete picture album is available at:
Technorati: conf
mysqlconf
mysql
santaclara
glassfish
netbeans
Posted by Arun Gupta in General | Comments[1]
|
|
|
|
| MySQL Users Conference 2009 Day 3 - Cloud Shootout
I arrived at the MySQL
Users Conference just in time for the The
Great Open Cloud Shootout.
| Thorsten | Fully automatbale computing infrastructure, changes the way production scale deployments operate, saves time/cost, increases reliability |
| Chander | Elasiticity is an important aspect, Can "shoot for the moon without shooting foot", accessing a pool of resources which is infinite from an individual/organization perspective |
| Monty | Much like electricity/network bandwidth, applying that same model to computing resources |
| Jeremy | Virtualization is an important piece |
| Lew | Not new technology, rather a new way of delivery. As a developer, provision the application through the code. |
| Monty | It's for you |
| Thorsten | Amazon launched, mostly for geeks. 2007 -> Amazon skeptical and RightScale gets VC funding, 2008 -> some common usage, 2009 -> Top-down from CIOs. Basically everybody, cross-organiation, vertical |
| Mike | Horizontal technology opportunity, starting to see mainstream applications including ISVs/primary line of business, interest/adoption is growing |
| Chander | Definitely growing for ISVs, makes backup sexy, "Even though running a backup company, expected to be entertaining" |
| Jeremy | Power outlets are shaped differently, technology has not matured enough. Next few years standardization will happen. |
| Monty | People will never notice it exists, but able to access the information |
| Prashant | Putting/Sharing the data on cloud |
| Monty | All of a sudden facebook traffic, leverage a collective of people who are already investing in an effort |
| Lew | Cloud computing based on virtualization |
| Mike | More & more enterprises moving in the cloud, gain durability & resilience which was not an option because of a single data center |
| Jeremy | Legacy apps are easiest to move into cloud, they are better understood and can scale easily |
| Prashant | Cloud is the right approach/dream, not there yet. Traditional apps can be moved into cloud. |
| Thorsten | Flexibility in development and tests, DBA clone another slave server with exactly the same setup to test out schema changes |
| Monty | Spin up EC2 instances, run the tests and shut them down ... everything in approx $1. Give it back to the cloud and make it more efficient for the world in general. |
| Lew | We are making it so affordable, cost can be 10% of what it was before. |
| Chander | Performance, a customer requested a refund where they were trying to shove a 1TB in an hour. US is 6Mbps, needs to significantly increase before it can be utilized. |
| Thorsten | Compute needs to move where the data is. |
| Chander | Most businesses will find bandwidth/redundancy limited. Customer always need to customer where not to use cloud and set expectations accordingly |
| Lew | Financially sensitive applications, owning your own data center |
| Chander | Trust and privacy, it's more about education though. Encryption is going tobe a key. |
| Jeremy | Competitiion, unless other companies battle it out and making it easy to to migrate from one service to other, it'll be difficult. Avoid vendor lockin. |
| Mike | Based on open industry standards, no deep rooted concern in the user community |
| Thorsten | Way to operate across different clouds, API is not the most important level. What is a server ? Can I hibernate it, mount it, how much storage volume is allowed, cross-data center boundary are a better abstraction. |
| Lew | Very early to lock the standards, everybody is currently in a stage of experiementation |
| Monty | Potential downside to premature standardization, too early to jump to standards |
| Chander | Open standards are a definite key to success. S3 fostered innovation. |
| Thorsten | S3 is a good standard but not an open API. It will be doubly nice if it's "free" or "open" or whatever the word is. |
| Mike | Standards dont really matter if the performance cannot be met. When innovating at a rapid rate, it' difficult to make everybody agree upon standards. |
| Lew | At least publish the API where everybody can use them. |
| Chander | Showing backup to Sun cloud, Sun has S3 compatible APIs, also compatible to WebDAV. |
| Monty | You can |
| Mike | Very unique and compelling business opportunity. Amazon Dev Pay: Buy infrastructure on demand, setup your software on AMI, set your own price and then customers can use it, "Software as a Innuity" |
| Chander | Traditional backup vendors will be worried. |
| Prashant | Database on the cloud |
| Lew | Seeing an explosion in the amount of data/compute required, accordingly analytics. Tremendous amount of opportunity when Cassandra & Drizzle are cloud-enabled. |
| Mike | More ISVs in the cloud. |
| Jeremy | How to do performance tuning and optimizations in cloud, do that for major cloud infrastructure. |
| Monty | Freedom to work from anywhere, don't need to be physically at the datacenter, enables multinational consulting |
| Chander | When more clouds become available, it'll be explosion which will happen later this year. |
| Jeremy | CPU time in terms of use, storage centric clouds pay for integrity |
| Lew | Creating Data centers with loading docks. |
| Monty | Paying for CPU cycle, like mainframe model. |
| Thorsten | Cloud is like mainframe but very elastic. |
| Chander | Billing is not a challenge, storage clouds are better because of pricing, compute is challenging |
| Thorsten | Flexibility of moving to the next volume, master, slave makes is very refreshing |
| Monty | Start out thinking M x N problems, never think about one database instance in cloud, there will be X > 1 |
Posted by Arun Gupta in General | Comments[4]
|
|
|
|
|
Tuesday April 21, 2009
MySQL Users Conference 2009 Day 2
I presented on Creating
Quick and Powerful Web Applications with MySQL, GlassFish, and NetBeans.
The key messages conveyed during the preso are:
Posted by Arun Gupta in General | Comments[4]
|
|
|
|
|
Friday April 17, 2009
GlassFish and NetBeans at MySQL Users Conference 2009

What is open source, production-quality, supported by a large vibrant
community, and comes with full enterprise support ? - GlassFish and MySQL.
Did you know that GlassFish ...
| When: | April 21, 2009 (Tuesday), 3:05 pm |
| Where: | Ballroom A |
Posted by Arun Gupta in General | Comments[6]
|
|
|
|
|
Wednesday April 08, 2009
TOTD #78: GlassFish, EclipseLink, and MySQL efficient pagination using LIMIT
EclipseLink
JPA replaces TopLink
Essentials as the JPA implementation in GlassFish v3. One
of the benefits of using EclipseLink is that it provides efficient
pagination support for the MySQL database by generating
native SQL statements such as "SELECT ... FROM <table>
LIMIT <offset>, <rowcount>".
The MySQL LIMIT clause definition
says:
The
LIMIT clause can be used to constrain the number of rows returned by
the SELECT statement. LIMIT takes one or two numeric arguments, which
must both be non-negative integer constants (except when using prepared
statements).
With two arguments, the
first argument specifies
the offset of the first row to return, and the second specifies the
maximum number of rows to return. The offset of the initial row is 0
(not 1):
SELECT * FROM tbl LIMIT
5,10; # Retrieve rows 6-15
So instead of fetching all rows from the database and then filtering
from row 6-15, only rows 6 through 15 are fetched.
This TOTD (Tip
Of The Day) explains how to
create a JPA Persistence Unit for sakila
(MySQL sample database) using NetBeans,
use EclipseLink as the Persistence Provider, and then write a JPA query
to leverage the pagination support - all on GlassFish v3.

| <properties> <property name="eclipselink.logging.level" value="FINE"/> </properties> |
| ./asadmin create-jdbc-connection-pool
--datasourceclassname
com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource --property
user=duke:password=glassfish:ServerName=localhost:portNumber=3306:databaseName=sakila
jdbc-mysql-pool |
| ./asadmin create-jdbc-resource --connectionpoolid jdbc-mysql-pool jndi/sakila |
| @PersistenceUnit EntityManagerFactory emf; |
|
EntityManager em = emf.createEntityManager(); response.setContentType("text/html;charset=UTF-8"); PrintWriter out = response.getWriter(); try { int startRow = Integer.valueOf(request.getParameter("start_row")); int howMany = Integer.valueOf(request.getParameter("how_many")); Query q = em.createNamedQuery("Film.findAll"); q.setFirstResult(startRow); q.setMaxResults(startRow + howMany); for (Object film : q.getResultList()) { out.print(((Film)film).toString() + "<br/>"); } } finally { out.close(); } |

| [#|2009-04-07T14:01:12.815-0700|FINE|glassfish|org.eclipse.persistence.session.file:
/Users/arungupta/tools/glassfish/v3/b43/glassfishv3/glassfish/domains/domain1/applications/Pagination/WEB-INF/classes/-PaginationPU.sql|
_ThreadID=15;_ThreadName=Thread-1;ClassName=null;MethodName=null;|SELECT
film_id AS film_id1, special_features AS special_features2, last_update
AS last_update3, rental_duration AS rental_duration4, release_year AS
release_year5, title AS title6, description AS description7,
replacement_cost AS replacement_cost8, length AS length9, rating AS
rating10, rental_rate AS rental_rate11, language_id AS language_id12,
original_language_id AS original_language_id13 FROM film LIMIT ?, ? bind => [1, 11]|#] |
| [#|2009-04-07T17:00:34.210-0700|FINE|glassfish|org.eclipse.persistence.session.file: /Users/arungupta/tools/glassfish/v3/b43/glassfishv3/glassfish/domains/domain1/applications/Pagination/WEB-INF/classes/-PaginationPU.sql| _ThreadID=15;_ThreadName=Thread-1;ClassName=null;MethodName=null;|SELECT film_id, special_features, last_update, rental_duration, release_year, title, description, replacement_cost, length, rating, rental_rate, language_id, original_language_id FROM film|#] |
Posted by Arun Gupta in web2.0 | Comments[5]
|
|
|
|
|
Tuesday March 31, 2009
ISV & OEMs Webinar Replay: GlassFish- and MySQL-Backed Applications with Netbeans and JRuby-on-Rails
I presented a webinar for ISV and OEMs on "Developing
GlassFish- and MySQL-Backed Applications with NetBeans and
JRuby-on-Rails" last
week.

The slides and a complete recording
of the webinar are now available here.
Technorati: webinar
glassfish
mysql netbeans
jruby rubyonrails
Posted by Arun Gupta in web2.0 | Comments[3]
|
|
|
|
|
Tuesday March 24, 2009
Here are some quotes from a recent
article talking about Oracle's
maintenance and support fees:
Before Oracle acquired
BEA earlier this year, the company charged 18% to 20% for support and
maintenance. Oracle increased those fees to meet its own structure and
also raised list prices on most BEA products.
That didn't sit well.
and
One Java-centric VAR,
who spoke on the condition of anonymity, said some of his BEA WebLogic
customers are moving to alternative application servers just to get
away from Oracle.
and
"What company comes in
this climate and not only jacks up prices but support prices as well?"
asked one frustrated BEA customer, who spoke on the condition of
anonymity.
and
"Many SAP and Oracle
customers intend to push back their maintenance fees," he said.
"Customers seek an option to just pay for tax and compliance updates
without paying for future innovation. They are willing to pay for
future modules when that time comes. If they can't access such options,
they would prefer third party options like Rimini Street for Oracle
[E-Business Suite] and SAP's applications."
Have you been bitten by Oracle's price raise ?
Interested in an industry-grade, highly performant, feature-rich, and
open source alternative ?
GlassFish and MySQL together provide an excellent
choice - give it a try!
Technorati: glassfish
mysql
opensource
sun oracle
Posted by Arun Gupta in General | Comments[1]
|
|
|
|
|
Monday March 23, 2009
This is a re-run of an earlier
webinar.
Would you like to know how JRuby,NetBeans, GlassFish, and MySQL can power your Rails
applications ?

This informative
technical webinar explains the fundamentals of JRuby and how
the NetBeans IDE makes developing/debugging/deploying Rails
applications on GlassFish quick, fun and cost-effective.
The webinar starts 10am PT on Mar 31st, 2009 and can be accessed from a
browser.
Register here.
Technorati: jruby
rubyonrails
glassfish
netbeans
mysql webinar
Posted by Arun Gupta in web2.0 | Comments[2]
|
|
|
|
|
Thursday February 05, 2009
Webinar Replay Available: GlassFish and MySQL-backed applications with NetBeans and JRuby-on-Rails
I presented a webinar on "Developing
GlassFish- and MySQL-Backed Applications with NetBeans and
JRuby-on-Rails" last
week.

The slides and a complete recording
of the webinar are now available here.
Technorati: webinar
glassfish
mysql netbeans
jruby rubyonrails
Posted by Arun Gupta in web2.0 | Comments[1]
|
|
|
|
|
Monday January 26, 2009
Would you like to know how JRuby,
NetBeans, GlassFish, and MySQL can power your Rails
applications ?

This informative
technical webinar explains the fundamentals of JRuby and how
the NetBeans IDE makes developing/debugging/deploying Rails
applications on GlassFish quick, fun and cost-effective.
The webinar starts 10am PT on Jan 27th, 2009 and can be accessed from a
browser.
Register here.
Don't miss out, it's going to start in less than 12 hours!
Technorati: jruby
rubyonrails
glassfish
netbeans
mysql webinar
Posted by Arun Gupta in web2.0 | Comments[1]
|
|
|
|
|
Tuesday January 20, 2009
Sun Tech Days 2009, Singapore - Welcome Reception
Follow up from Part
1.
Attended "What Developers should care about MySQL ?" by Colin and
"Groovy and Grails" by Chuk-munn
Lee.
I enjoyed both the talks for different reasons. Colin's talk explained
the pluggable
storage engine architecture that is unique to MySQL
(pronounced my-ess-kew-ell,
not my-sequel).
It was interesting to know that the different storage engines can be
picked a la carte
based upon the requirements. The performance comparison for INSERTs was
5x between MyISAM, InnoDB and Archive storage engines. But then InnoDB
provide transactions and other goodies. Multiple performance tuning
tips such as using negative unsigned int instead of BIGINT and
partitioning databases if the number of records grow more than 1 billion were good! Keep an eye
on his blog
for slides.
Chuk's talk introduced Groovy, Grails,
showed several samples of NetBeans
and Grails
integration. A Grails application can be deployed as a WAR file on
GlassFish. Alternatively you can download the Grails module from GlassFish v3 Update
Center and use the standard "run-app" command to run your
Grails application using the embedded GlassFish v3 instead of Jetty.
This
is explained nicely in the screencast below:
Here are couple of pictures from rest of the day:
The welcome reception gave a good chance to engage with the audience.
There was a community-driven musical performance and I made a video
recording of the event. But because of the slow Internet connection,
it's taking forever to load this particular video (may be it's Picasa 3 on Mac
;-)
If you have not signed up for Cloud
Camp event
happening in Singapore at 6pm today, register here!
Here is the complete photo album so far:
Follow the latest updates on twitter.com/arungupta.
Technorati: conf
suntechdays
singapore
glassfish
mysql netbeans
Posted by Arun Gupta in General | Comments[3]
|
|
|
|
|
Today's Page Hits: 5100
Total # blog entries: 931