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 


Servlets

Server-Sent Events (SSE) support in GlassFish
on Apr 20, 2012 | Permalink | Discuss
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 | Permalink | Discuss

Testing

This blogs lists the tips, tricks and solutions to most commonly faced issues while using Embedded GlassFish.
on Mar 19, 2012 | Permalink | Discuss
This blog describes how to configure maven-embedded-glasssfish-plugin to be able to deploy more than one application.
on Mar 18, 2012 | Permalink | Discuss

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.
on Mar 2, 2012 | Permalink | Discuss
Using MySQL database with GlassFish is nothing new. However I just wanted to share a small note on how I used MySQL DB from GlassFish which is embedded in my test. Life is much easier when I am able to run the test without having pre-installation of GlassFish/MySQL.
on Apr 4, 2011 | Permalink | Discuss

J2EE

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...
on Feb 23, 2012 | Permalink | Discuss
 In the previous article we described how to do testing with multiple containers. But since joining the Glassfish team I have wondered how can I test applications against different versions of JSF on Glassfish? As it turns out it is actually quite straightforward. This blog entry shows you how to do it. It will allow you to test using a 2.1.2 version and up. All by using properties passed in...
on Jan 5, 2012 | Permalink | Discuss
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.
on Oct 28, 2011 | Permalink | Discuss
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 | Permalink | Discuss

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...
on Dec 21, 2011 | Permalink | Discuss

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.
on Nov 13, 2011 | Permalink | Discuss

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.
on Oct 20, 2011 | Permalink | Discuss

Community

Beyond being merely a computer programming language, Java is the most widely used software platform in the entire world. There is a large number of various software solutions that were developed using this technology. Without many people being aware, Java is present in our daily lives in embedded technologies like blue-ray discs and a countless number of sites on the internet that...
on Jul 26, 2011 | Permalink | Discuss

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 | Permalink | Discuss

Web Applications

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 | Permalink | Discuss
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 | Permalink | Discuss

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 | Permalink | Discuss