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


bhaktimehta's blog

Book review: Mining the Social Web by Mathew A. Russell

Posted by bhaktimehta on February 16, 2014 at 11:34 PM PST

There is so much potential in extracting, processing and synthesizing the the multi faceted, realtime data that can be mined from social sites.
Mining the Social Web by Mathew A. Rusell covers these topics scrupulously. Here is my detailed review of the book

JAX-RS and Bean Validation

Posted by bhaktimehta on October 30, 2013 at 10:39 PM PDT

One of the newer features introduced in JAX-RS 2.0 is the support for validating resource classes with Bean Validation
Bean Validation support comes in Jersey 2.x by adding jersey-bean-validation module to the class-path.

The following sample shows how to use Bean Validation with JAX-RS 2.0. I show how to define a custom constraint which will validate any Enum class.

My new Book "Developing RESTful Services with JAX-RS 2.0, WebSockets and JSON"

Posted by bhaktimehta on October 18, 2013 at 1:10 PM PDT

Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON is the new book which Masoud Kalali and I have worked on and recently published.

Silicon Valley Code Camp 2013 Report

Posted by bhaktimehta on October 6, 2013 at 9:02 PM PDT

Silicon Valley Code Camp is one of the best known secrets and one of the best organized conferences in the Bay Area.
I have the pleasure to speak at this conference for the past two years and am amazed at its growing popularity.
Here are some statistics for this year

4500 registrations and registration was closed

My sessions at Silicon Valley Code Camp 2013

Posted by bhaktimehta on October 2, 2013 at 8:56 AM PDT

I will be presenting the following sessions at Silicon Valley Code Camp 2013. For those in the Bay Area, Silicon Valley Code Camp is on Oct 5,6 2013 in Foothill College, Los Altos. It is a very well organized conference by the developers for the developers.

New enhancements to Admin Command framework in Glassfish 4.0

Posted by bhaktimehta on June 13, 2013 at 9:26 AM PDT

Glassfish 4.0 is released. This is the reference implementation for Java EE 7 and focusses on HTML 5 and improving developer productivity. You can download the bits from here

Apart from the Java EE 7 support in GlassFish 4.0 there have been numerous other areas where Glassfish 4 has provided lots of improvements and innovation

Running osgi shell commands with asadmin in Glassfish

Posted by bhaktimehta on November 20, 2012 at 12:24 PM PST

GlassFish comes preconfigured with Apache Felix Gogo, which is an implementation of OSGi RFC 147, and is a proposed standard shell for OSGi environments.

For Glassfish 4.0 there is no longer need to open a separate port to access the shell. The OSGi shell commands are integrated with asadmin, so you can now access the OSGi shell
commands via asadmin tool.

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