AsyncWeb, the high-throughput non blocking Java HTTP engine who support asynchronous request processing from POJO objects, can now run on top of Grizzly, the http engine used by GlassFish.
AsyncWeb can now be deployed in GlassFish. AsyncWeb is (from the site):
AsyncWeb (built on top of the excellent Mina network framework) employs non-blocking selector driven IO at the transport level, and is...
on Jul 21, 2006
Sun recently announced two initiiatives at JavaOne 2006 to AJAX enable JSPs and JSF components -
JSF-Extensions. When we announced the efforts, there was confusion about the two and it was viewed as the two technologies were competing. This document helps resolve the confusion and show that the two technologies are complimentary.
Before we move to the discussion of jMaki and JSF-...
on Jul 18, 2006
I am getting ready for the fall
semester. My software engineering students will be using GlassFish for their projects. In
order to avoid the "but it worked on my computer" syndrome, I make them
deploy their apps on a server in my office. I just installed Ubuntu Server Edition. These
instructions got me started with the Linux basics. This blog has the
(not so) gory details for...
on Jul 18, 2006
This code as been shown many times before, including in my book. This is exactly what the title says: a JSP that will display the request headers sent by your browser. It is also a good example of how to use the JSP EL and the JSTL core tags to make an incredibly simple JSP.
Here is the code. Simply copy and paste it in to a JSP, ideally one that you are editing in Netbeans. You must have the...
on Jul 3, 2006
The last decade of the XXth century was marked by the HTML advent, from a simple language rendered by the Web Browsers to the standard de facto of Internet contents: web-pages, mail and business applications. Several interesting innovations were applyied to the first draft of the HyperText Implementation in order to support the e-commerce demand, including multimedia tags and dynamic web layouts...
on Jul 3, 2006
JPA is the new object-relational mapping standard that you can use in
EJB3 or in standalone applications. For the most part, it is phenomenally
easy to use. But ever so often, you get a query from a developer such as
one. The programmer set up a bidirectional relationship and didn't
populate both sides.
on Jul 2, 2006
Readers of my blog know about Elvis, the Microsoft
persona of the programmer who is neither Einstein nor the
point-and-click/drag-and-drop "just give me a wizard" Mort. Elvis wants to
use EJB 3 because the annotations make it easy, but he is a bit taken
aback by the jargon.
I am working on a glossary that gives both the official definition of
various terms (starting with...
on Jun 25, 2006
Often when you are "heads down" developing a technology, you forget about who might be using that technology. And in the course of giving a presentation about the technology, you may hear a question or two like "yeah... great.... but who is using this out there in the real world?".. Well.. we've compiled an initial list of companies/sites out there that use JSF.... That list can be found here...
on Jun 23, 2006
As you know M7 is the final, Java EE 5 compatible release for GlassFish v1. It is a production quality, deployable app server. GlassFish v1_UR1 is the follow up bug fix only release to M7. v1_UR1 starts from the same source base as M7 and adds selected bug fixes only. M7 is the current stable release. v1_UR1 has additional, limited bug fixes and those builds are pretty stable.
on Jun 22, 2006
TmaxSoft (yes, where I work now) achieved it (of course except the Sun RI :-). See http://java.sun.com/javaee/overview/compatibility.jsp for more details. We are planning to release some preview as well.
Thank you all for your great help, especially Alan, Arthur, and Stephen from the Sun CTS team. I couldn't forget such a beautiful weather in Boston.
P.S. More about this to come, so stay tuned!
on Jun 15, 2006
As announced by Jonas Jacobi, the Oracle ADF Faces component library project now has a new name, Trinidad.
Trinidad now joins Tobago as sister projects providing opensource JSF component libraries, just as Trindad and Tobago (the countries) make up a twin island republic from where I originate.
It is nice to have Trinidad and Tobago not only get notariety for their brave World Cup play but also...
on Jun 12, 2006
Recently I have been exploring the various security features in Glassfish AS. In this blog entry, I hope to share some of my initial findings related to role based access control.
The following simple problem highlights the need for different roles. Lets say, user 'X' can perform transactions as well as view non-transactional parts of the application. However user 'A' can only view access the...
on Jun 11, 2006
Bonjour, comment Java?
I'll be attending the JBoss
World Vegas conference next week in Las Vegas, doing some
Java EE 5 demos during Bill Shannon''s (Java EE 5 overall spec lead)
The "Java EE 5" talk is at 2:20pm on Wednesday. See the agenda.
This will be the occasion to meet Emmanuel Bernard, the lead for
Hibernate at JBoss, an expert group member as well. I guess we'll be
on Jun 9, 2006
The GlassFish BoF on Tuesday evening of JavaOne was well attended with lots of great questions. Jim, Amy and I gave a quick overview of GlassFish, where we are today, highlights on the community and roadmap with future directions. I have posted the slides here .
As I mentioned there were lots of questions during the 50 minute BoF and luckily there were many GlassFish developers, architects...
on May 30, 2006
At the GlassFish and JUG reception Wed night of JavaOne included some time to recognize contributions from members of the GlassFish community. Several awards have 2 winners because we recognized both Sun employees and non-Sun employees. View GlassFish award
Most bugs filed:
Sanjeeb Sahoo filed 74 issues
Jean-Baptiste Bugeaud filed 40
Most posts to the forum:
Sanjeeb Sahoo had 160 posts
on May 30, 2006
Switching the Java Persistence provider is straight forward and seamless if project /product uses Java Persistence API (EJB3.0) either as a standalone framework component or in a container managed environment. In my earlier blog entry, I had used TOPLINK as a provider and switching to use hibernate as a provider is fairly easy.
Here is what one need to do. None of the source code changes but the...
on May 29, 2006
Lately I have been tinkering with Glassfish and happened to look at the persistence API. The persistence API is based on the EJB 3.0 specification and is made available as a standalone component. I must admit that itâ€™s fairly straight forward and a pleasure to use.
After downloading the persistence API from Glassfish Persistence. I started with the examples provided along with the...
on May 29, 2006
Wow....still recovering after a crazy week at JavaOne. We have worked very hard to make the keynote demo on Friday to clearly demonstrate the power of the Real Time VM. For people that didn't see it, we demonstrated SJSAS 9.0 running on the upcoming Sun Real Time VM. Without going into details (will blog more later on the topic), we have configured Grizzly to use its ARA mechanism and a Real Time...
on May 29, 2006
Earlier we had shown how to plug in Hibernate in GlassFish. Now it's time for Kodo, which is another high performance & popular O/R mapping solution. Recently Kodo 4.0GA was released and it supports Java Persistence API 1.0. So, I thought I shall give a try using it in GlassFish. The instructions are really simple. They do not involve any unreasonable steps.
Step #1: Download and install...
on May 28, 2006
For an inside scoop on the Java EE 5 platform and EJB 3.0 technology, check out the two-day expert-to-engineer seminar in early June, complete with demos and Q&As. The seven sessions also address such popular topics as Java persistence, Web services, the Web tier and JavaServer Faces (JSF) technology, Java blueprints for AJAX-enabled applications, and Sun Java System Application Server PE 9...
on May 17, 2006