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 Services and XML

It actually happened a few weeks ago already, but I simply didn't find the time to spread the word earlier -- just too much other stuff to do (see end of posting), so I tell you now: WebDAV Support for JAX-RS 1.2 is out! What has happened since 1.1? First of all, 1.2 is a complete internal overhaul, which not only finally is covered with unit tests rather completely (which revealed several...
on Mar 1, 2014
Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface. JAX-RS provides a standardized API for building RESTful web services in Java. This example will show how to...
on Sep 16, 2013

Accessibility

The new version of Easy-Cassandra, the version 2.0.1, have launched, some news are: Refactoring constructor on Session Factory QueryBuilder (InsertBuilder, UpdateBuilder, DeleteBuilder, SelectBuilder and BatchBuilder) Go faster both write and read Processors asynchronous More supports to Spring-Data As have an easier the configuration a Session Factory, it was made the ClustInformation, this...
on Feb 13, 2014

Community

This is my first blog on java.net! Happy new year! At 2014/01/11, A big Java EE 7 event has been held on China Nanjing Software Valley jointly organized by China (Nanjing) Software Valley Joint Management Committee and China Nanjing Java User Group. ChinaNanjingJUG(http://q.weibo.com/1696581) is founded at 2013, and focus on the promotion of Java EE and Java related technology into China....
on Jan 13, 2014
My JavaOne 2013: Wrapup This blog entry summarizes my session participation at JavaOne 2013. I plan to update this entry with links to the content on Parleys.com as it becomes available. Sessions I Attended In general, speaking more than listening is a very bad way to live. I find this holds true at conferences as well. Here are the sessions I attended. I attended eight and presented six, so I...
on Oct 1, 2013
Looking Forward to JavaOne Sunday: JUG Forums, NetBeans Day, GlassFish, Technical Keynotes, Duke's Choice Awards It used to be that Sunday was a fairly relaxing day for most. Not anymore! This year, Sunday is already overcrowded with many more events and sessions than one can possibly attend, as the JavaOne 2013 Content Catalog Sunday entries demonstrate. Sunday's activity can be divided into...
on Sep 22, 2013

J2EE

Say you have a problem with how a particular component renders and you want to do it a bit different. Well in JSF that is not a problem there is a hook-in that you can use to override how a renderer does it rendering. The sample below shows you how to do it. You will have to do 2 things. 1. Register your own renderer for a given renderer type 2. Implement your own renderer. First lets make sure...
on Nov 5, 2013
JavaEE 7 and Glassfish 4.0 were released a little while ago. What is in the future? Well, see the Aquarium blog for the latest Glassfish Roadmap. And that is it. Enjoy!
on Nov 4, 2013
Tyrus 1.3 has been released, get more information here. Or download it from here. Glassfish users should take all the Tyrus JAR files and replace them in the modules directory with the downloaded ones to get Tyrus 1.3 working in Glassfish. And that is it. Enjoy!
on Nov 2, 2013
See the release notes for what was fixed. If you want to download it, see this page for more information. Enjoy!
on Oct 31, 2013

GUI

#How to run the dev test cases ================================ #Annotation: All of the test cases can't be ran on the windows platform because the firefox can't support the ajax and JSF based on the windows platform very well. If you want to ran the tests, please check out all of the codes to the linux, ubuntu or mac platform. #Steps: 1). Download the firefox and install it, On my platform, I...
on Oct 14, 2013

JavaOne

2013-09-24 Table of Contents 8:30am - Functional Reactive Programming with RxJava 10:00am - The JVM is dead! Long live the Polyglot VM! 1pm - invokedynamic in 45 minutes java.lang.invoke bytecode your turn 3pm - Wholly Graal - Java on GPU graal overview GPU offload 5:30pm - Experimenting with the Boundaries of Static Typing 7:30pm - Developing Small Languages with Scala Parser...
on Sep 24, 2013
At the JavaOne 2013 Java Technical Keynote, there was a series of demos of software that enables two people to play chess, using some of Java's latest features, including Java EE 7 Websockets, many variations of Java 8 (recent weekly builds), Lambda Expressions, Java ME, Embedded Java, ... It was an impressive demo of many of Java's recently-released and not-yet-finally-released capabilities,...
on Sep 23, 2013

Servlets

javax.servlet.http.HttpSession provides a way to identify an user across multiple HTTP requests and to store user specified information. In other words, it provides a support of stateful communications with the stateless HTTP protocol. For security and memory management, sessions need to be invalidated at a certain time. There are two related methods in HttpSession. HttpSession.invalidate() By...
on Aug 29, 2013
WebSocket is a bi-directional, full-duplex, TCP based messaging protocol. It is originally proposed as part of HTML5 and is a IETF-defined Protocol (RFC 6455). And W3C has defined JavaScript API for WebSocket which is in candidate recommendation since 2012-09-20. JSR 356: Java API for WebSocket provides a standard Java API for creating WebSocket Applications. The specification provides an API for...
on Aug 7, 2013
Expression Language (EL) was first introduced as part of JSTL 1.0, was then moved JSP 2.0 and was unified with JSF 1.2 in JSP 2.1. In Java EE 7, EL is a new separate JSR, JSR 341. Many new features are introduced in EL 3.0. This blog shows how to use new following new features of EL 3.0: Standalone environment Lambda expression (section 1.20 of EL 3.0 spec) The new operator ; to separate...
on Jul 1, 2013
Asynchronous operation was introduced in Servlet 3.0. ServletRequest#startAsync is used to put the request into asynchronous mode. A thread need to be created implicitly or explicitly (see here for an example). Servlet 3.1, JSR 340 includes clarifications in asynchronous area. Besides Servlet 3,1, Concurreny Utilities for Java EE 1.0, JSR 236 is introduced in Java EE 7. JSR 236 provides a...
on Jun 6, 2013
Asynchronous operation is supported in Servlet 3.0. I have discussed startAsync in my previous blog, startAsync in Servlet 3.0. In this blog, I will discuss AsyncContext#complete. The javadoc of AsyncContext#complete has the following: Completes the asynchronous operation that was started on the request that was used to initialze this AsyncContext, closing the response that was used to...
on May 14, 2013
Servlet 3.1 Specification (JSR 340) is almost ready for the release. One of the new features is the support for protocol upgrade. HTTP protocol upgrade was introduced in HTTP 1.1 (RFC 2616): The Upgrade general-header allows the client to specify what additional communication protocols it supports and would like to use if the server finds it appropriate to switch protocols. The server MUST use...
on May 7, 2013

Programming

Java API for WebSocket is a new JSR to Java EE 7. It provides a stardard Java API for creating WebSocket applications. This gives web applications the ability to push data. In Java EE 6 samples, we added a chat room sample to illustrate how to use of Servlet 3.0 asynchronous operation. In that sample, the servlet code did the following: keep track of AsyncContext in a Queue create a thread to...
on Aug 13, 2013