Skip to main content

Bhakti Mehta

Bhakti is an author of "Developing RESTful Services with JAX-RS 2.0, WebSockets and JSON"

Bhakti has been involved with Java platform development since 2000. Currently she is a Senior Software Engineer at BlueJeans Network. Prior to this she was at Sun Microsystems/Oracle for 13 years and has been a committer for various open source projects
like Apache Xerces, Xalan, XSLTC and Netbeans . She has worked on different areas like
JAXP, JAXB, WS -RM (Web services Reliable Messaging) and JSR 109 .

She was one of the founding members of GlassFish team. Her primary areas of interest are Server Side technologies, XML, Web Services, Java EE and Cloud.

Bhakti has a Bachelors degree in Software Engineering and a Masters degree in Computer Science.
She is a regular speaker in different conferences along with having articles, enterprise tech tips on different subjects.

Bhakti’s tweets can be followed at @Bhakti_Mehta

Bhakti Mehta's books on Goodreads


bhaktimehta's blog

My session in Javaone 2012

Posted by bhaktimehta on September 26, 2012 at 3:19 PM PDT

Masoud Kalali and I will be presenting a BOF at Javaone 2012

Server Sent Events, Async Servlet, Web Sockets and JSON; born to work together!

Jersey 2.0 and Server Sent Events Sample with Glassfish

Posted by bhaktimehta on July 20, 2012 at 10:48 PM PDT

Jersey 2.0 has a lot of new features as mentioned by Marek here .
One of the nice features which they have added is the Client and Server support for Server Sent Events .

Session stickiness with Apache,mod_proxy and Glassfish

Posted by bhaktimehta on April 25, 2012 at 1:31 PM PDT

Loadbalancers can set thier cookies indicating which backend server can serve a user's requests and direct future requests to the same server.
I was experimenting with session stickiness using apache, mod_proxy and Glassfish and here is a short summary of the steps I executed.

Apache 2 is installed on Mac OSX in /etc/apache2

Server Sent Events Sample with Glassfish

Posted by bhaktimehta on April 21, 2012 at 12:34 AM PDT


Server-Sent Events (SSE) is a standard describing how servers can initiate data transmission towards clients once an initial client connection has been established.

Glassfish 3.1.2 and Netbeans 7.1.1 are here!

Posted by bhaktimehta on March 2, 2012 at 1:06 PM PST

 We are pleased to announce the release of Glassfish 3.1.2 . 

These are the highlights of some of the main features in Glassfish 3.1.2

Main Features

Quick tip Felix shell and Glassfish

Posted by bhaktimehta on August 4, 2011 at 12:59 PM PDT

Here is a pointer to a blog which shows how to use the felix shell with Glassfish 3.2 to inspect dependencies.

Classloader.getResources() and IBM JDK

Posted by bhaktimehta on April 20, 2011 at 11:42 AM PDT

This blog shows some interesting differences between classloader implementation of IBM JDK vs Sun/Oracle JDK

mod_jk and EJB Webservices and Glassfish 3.1

Posted by bhaktimehta on March 1, 2011 at 6:55 AM PST

One of the nice bug fixes we added in v3.1 was support for mod_jk with ejb webservices issue 12458.

Amy has a very nice blog on setting up mod_jk here

change-master-password command in glassfish 3.1

Posted by bhaktimehta on March 1, 2011 at 6:53 AM PST

We are proud to announce the release of glassfish 3.1. is an entry on the command change-master-password in 3.1.


Update to deploying webservices on Glassfish 3.1 cluster

Posted by bhaktimehta on October 11, 2010 at 10:13 AM PDT

This blog is a minor update to the previous entry of

Glassfish 3.1 is in active development and there are some changes since the last time I posted this blog.