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 following blog shows an example of Server Sent Events in HTML5. It demonstrates using a sample where a server periodically polls for Twitter information and sends the data to the clients using Server Sent Events

The Early Draft for JAX-RS 2.0 (JSR 339) has been submitted for publication. I plan to use this blog to highlight the features in the new spec, and in this entry I'll start with the most requested feature: the Client API. This API can be broadly divided into 4 areas: the fluent API, the generic interface, configuration and asynchronous support. In this blog entry we'll explore the fluent API.

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.
Servlets

Server-Sent Events (SSE) support in GlassFish
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#...
Community

Hello there! I'm Alessandro Gentile and this is my brand new blog on java.net.
I must say, I'm honored to be part of this community. Two months ago I joined the GlassFish project and I began to write tutorials. There are several reasons for my choice and among them there's the love for open source software and java EE.
Markus Eisele in his blog two weeks ago wrote an article that I found truly...
J2EE
We build too many walls and not enough bridges.
Isaac Newton
Introduction
In my previous blog post, I have asked to many of you this question: "What JSF should become?". And since then, I was quite silent. The reason behind it, is that I was working to build a concrete implementation of this vision and today I'm glad to give you a concrete demonstration of it. So Ladies and Gentlemen, why...

I always forget some additional options needed to get jvm verbose output when starting GlassFish using regular start-domain command, so I thought of writing them down here...


In the first blog entry of this series, we showed how to configure a message body reader (MBR) on an instance of Client. This blog entry will focus specifically on the topic of configuration in the JAX-RS 2.0 Client API.

A particular annoyance of JSF was the lack of proper file uploading, at least from my perspective. Read on for an easy solution!

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...
Testing

This blogs lists the tips, tricks and solutions to most commonly faced issues while using Embedded GlassFish.

This blog describes how to configure maven-embedded-glasssfish-plugin to be able to deploy more than one application.
Databases

The Memcached is the bestknown in-memory key-value store(cache). For using Memcached, you need clients and many clients already exist. You can also find Memcached clients based on Java.
Though there are already good Memcached clients which have optimized Memcached operations a long time, I would like to introduce GrizzlyMemcached based on Grizzly framework which is very scalable and gives high performance.
Blogging

This page is for introducing Grizzly-Thrift server/client modules and sharing various benchmarking results.
Object serialization/deserialization of Java comes expensive. For improving this lack, we sometimes used to use other frameworks for RPC such as Protobuf and Thrift which support various programming languages, RPC and own data structures.
Especilally, Thrift has already provided various...
Web Development Tools
The second edition of Java Magazine (November/December) will go out in few days. In the Part 2 of the my article, you will see in detail how to use JSON to handle the response returned to the HTML5 client.
The first Part 1 of my article published in the first edition of Java Magazine (available here ) has shown how you can create and deploy quickly a Java EE application that uses RESTful Web services with NetBeans.
Programming
This is the second blog entry on series of blogs about JAX-RS 2.0 Early Draft. Today I'd like to discuss the Generic Interface for building and submitting requests in the Client API. See last week's blog for an introduction to the Client API.
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 current status?
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...






