Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic: GlassFish

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


Web Applications

The Early Draft for JAX-RS 2.0 (JSR 339) has recently been submitted for publication. There are number of interested features in the new draft, and I'd like to start with the new Client API. The Client API is used to access Web resources. It provides a higher-level API than HttpURLConnection, and perhaps more importantly, integration with JAX-RS providers. Let us start by defining a simple ATM...
on Oct 14, 2011
If you want to try out the absolute latest Mojarra 2.2-SNAPSHOT, you can run it on GlassFish 3.1 or GlassFish 3.1.1. To install it, grab the 2.2.0-SNAPSHOT version of Mojarra from this repository. <pre> &lt;repository&gt;      &lt;id&gt;jvnet-nexus-snapshots&lt;/id&gt;      &lt;name&gt;jvnet-nexus-snapshots&lt;/...
on Sep 26, 2011
In GlassFish, when no error page is specified for a given web application, a default error page will be displayed. In some use cases, it is desirable to turn off the default error page. In this blog, we will summarize different ways to achieve this. In a Virtual Server One can turn off the default error page in a given virtual server by specifying a property with name <b>errorReportValve...
on Apr 18, 2011
I'm trying to provide transparency into Mojarra development practices and increase Mojarra code quality. To that end, this blog entry summarizes the current state of the Hudson jobs for Mojarra. Continuous integration is the layer of the software safety net that ties together the other two layers: version control mastery and a comprehensive automated test library. Mojarra has been developed...
on Mar 15, 2011
GlassFish supports the preseving of HTTP session data across the redeployment of web application. Prior to GlassFish 3.1, one can achieve this through the command line as follows: &nbsp;&nbsp;asadmin redeploy <b>--properties keepSessions=true</b> --name ${APP_NAME} ${A_WAR} In GlassFish 3.1, web sessions, Stateful Session EJB instances and persistently created EJB timers can...
on Mar 9, 2011

Servlets

Prior to Servlet 3.0, a servlet may need to wait for a long operation to complete and can cause thread starvation in web container. In Servlet 3.0, asynchronous processing is introduced to handle this situation. There is a lot of information about asynchronous processing in Servlet 3.0. In this blog, we will take a look at two aspects of startAsync. When will javax.servlet.AsyncListener#...
on Sep 8, 2011
To start using Embedded GlassFish Server Open Source Edition 3.1 in your Maven project, all you need to do is to have the following configuration in your pom.xml: &lt;project&gt;  ...  &lt;packaging&gt;ear |ejb|jar|rar|war&lt;/packaging&gt;  ...  &lt;build&gt;    ...    &lt;plugins&gt;   ...
on Mar 6, 2011

Programming

JAX-RS 2.0: A first interim report It's been a few months already that the expert group of JSR 339 started discussion about the details of JAX-RS 2.0. The target defined by spec lead Oracle are clear: Java EE 7 shall have a RESTful API that augments current JAX-RS 1.1 API by (among others) a Client API, HATEOAS support and asynchronous invocations. So what's the status with state? As three corner...
on Jul 24, 2011
Meanwhile I am looking back to more than 25 years of programming, and more than a decade I spent in a very sensible area where quality (in the sense of zero failures) plays a big role. So call me "sensible" for quality. For long years "we" (i. e. developers) had hard work to do using simple command lines tools like vi etc., but meanwhile there are great, even free,...
on Dec 29, 2010

J2EE

Next week I will be presenting a free webinar about Java EE 6 and Glassfish 3.1. The title can be translated to English as: "Java EE 6 and Glassfish 3.1: Simplicity + Ligthness = Productivity". The reason the title is in Portuguese is because this will be a webinar targeted at Brazilian Java EE and Glassfish users - as far as I know it will be the first webinar in Portuguese on these...
on Jun 14, 2011
GlassFish 3.1 supports creating and managing instances on multiple hosts from a central location (the DAS).   GlassFish 3.1 supports creating and managing instances on multiple hosts from a central location (the DAS). The server software uses SSH to communicate to the remote systems where the instances reside and Joe's blog contains useful information on setting up SSH in a way that...
on Mar 2, 2011
Content available at: http://blogs.sun.com/arungupta/entry/totd_151_transactional_interceptors_using
on Nov 22, 2010

Security

Cross-site request forgery (CSRF) is a malicious attack exploiting the trust of a site from a user's browser. As an example, an user may be tricked to invoke a url to do a bank transaction by either clicking on the url or accessing the url through <img>. In GlassFish 3.1.1, there is a CSRF prevention filter, org.apache.catalina.filters.CsrfPreventionFilter, which is based on Tomcat 7. The...
on May 31, 2011
Single Sign On allows web applications to share the same authentication state. GlassFish v2 supports virtual server level Single Sign On (SSO). Web applications with the same authentication realm in a given virtual server can share the authentication state in GlassFish v2. GlassFish 3.1 supports SSO failover at cluster level. So one has high availability for Single Sign On in a virtual server of...
on Mar 1, 2011

Databases

Accessing MySQL from Embedded GlassFish .ln { color: rgb(0,0,0); font-weight: normal; font-style: normal; } .s0 { color: rgb(128,128,128); } .s1 { } .s2 { color: rgb(0,0,255); } .s3 { color: rgb(128,128,128); font-weight: bold; } .s4 { color: rgb(255,0,255); } .s5 { color: rgb(0,0,128); } Using MySQL database with GlassFish is nothing new. However I just wanted to share a small note on how I...
on Apr 4, 2011

JSR

JSON JSR(pre JCP filed draft) As announced earlier, Oracle wants to include a Java API for JSON in the Java EE platform. I have circulated the Java API for JSON JSR draft internally in Oracle. If you have any feedback, let me know. I will also reach out to few people(who worked on Java implementations for JSON) to support this JSR. The planned scope for this API is: Produce and consume JSON...
on Mar 15, 2011

Community

Embeddability of GlassFish is been around for quite some time now. In 3.1, the embeddable APIs have been revised. Most of the GlassFish community is already aware of the API revision, however I would like to briefly describe the revised APIs in this blog and welcome any feedback. Embeddable API overview: API JavaDocs are at http://embedded-glassfish.java.net/nonav/apidocs/ The APIs are briefly...
on Mar 2, 2011
Content available at: http://blogs.sun.com/arungupta/entry/javaone_brazil_twitter_linkedin_facebook
on Nov 29, 2010

Deployment

By now, you are hopefully well aware that Glassfish 3.1 has been released.  Because the performance group has been a little quiet lately, maybe you're thinking there aren't a lot of interesting performance features in this release. In fact, there are two key performance benefits: one which benefits developers, and one which is important for anyone using Glassfish's new clustering and high-...
on Mar 1, 2011

Web Services and XML

JAX-WS RI team is pleased to announce the release of 2.2.3 version. It is also included in Metro 2.1. Some of the changes in 2.2.3 are: Add -clientjar option for wsimport Add support for Async Servlet Transport using Servlet 3.0 api Bug fixes The bits are also in JAX-WS Maven repository Continue sending your feedback to the forum and to the mailing list.
on Feb 16, 2011