Sun is kicking off the 2007-2008 Tech Days season in Boston, MA this week on Sept 11 & 12(agenda). On the 11th, you can attend NetBeans Day(FREE), OpenSolaris Day(FREE), or University Day(FREE). There will also be a couple full-day developer training sessions($$$) on AJAX(register) and Java EE patterns(register). On the 12th, you can attend sessions on a wide variety of topics related to...
on Sep 10, 2007
Grizzly's committer Takai Naoto blogged about 3 simple steps to start your JRuby on Rails application using Grizzly 1.6. This is impressive to see how easy it is....at least for me :-)! More info here.
As GlassFish v2 will soon FCS (Hiya!), I've just uploaded the latest Grizzly runtime used in v2, namely Grizzly 1.0.17. You can download it here. 1.0.17 is the final and latest release for Grizzly...
on Sep 4, 2007
We just voted and pushed the new Grizzly 1.6.0 binary. This release is another community release and thanks to everyone who collaborated to our discussions and phone meetings.
This new release contains:
Add a new property to enable pipelined message execution using the same ProtocolChain.
Optimize the ReadFilter to delegate control as soon as bytes are available.
on Aug 31, 2007
Do you write Web applications for selling things on the Web? Have you considered integrating Google Checkout to enhance the buying experience on your Website? Besides providing an easy Web-based console for merchants, Google Checkout also provides a powerful REST and XML based API to enable merchants to integrate their backend systems for order processing.
We provide convenient libraries and...
on Aug 30, 2007
As I've blogged before, we've been playing with mercurial a bit lately. So today I'm happy to announce that the read-only GlassFish v3 source code repository is available at http://hg.glassfish.dyndns.org/. You can check out the repository by running:
hg clone http://hg.glassfish.dyndns.org/ glassfish_v3
We'd like to shuffle files around to follow the proper maven convention, but in the mean...
on Aug 30, 2007
In the last few weeks I was asked to help to integrate a set of built-in-house web applications with a Single Sign On (SSO) solution. After working with people from different teams, I realized that it would be a good idea to write a brief description of how the SSO solutions work in general. Perhaps this might help you to get started if you have to do something like this at some point.
SSO is by...
on Aug 29, 2007
I enjoyed reading Seven Habits of Effective Developers, ZDNet Asia's interview with Sun staff engineer Lee Chuk Munn, who likens writing applications to writing books. The habits he cited include: understand the problem, use appropriate tools, strive for simplicity, and so forth.
Hard to argue with any of them, I think, in particular the points on simplicity and clarity. Those are goals for me...
on Aug 28, 2007
When you try teach anything new for someone, IMHO the easiest way is to do that relating with something you already know. So far Struts is a framework that almost everybody touched at least once. So I will use some of Strtus concepts to explain jBPM process execution.
jBPM is not just a Process Machine, locked in just one way to promote interaction between tasks, in fact jBPM is...
on Aug 28, 2007
In the second part of the series, you can see how we can utilize EJBCA to create certification for a client side application which will communicate with Glassfish server when Client cert authentication (Mutual Authentication) is enabled whether by changing the listener attributes or by describing it in the web-config.xml.
In order to create client certification we will need to perform...
on Aug 23, 2007
OK, native queries in JPA. Not really well documented. Of course I understand that we really should not be doing that, but hey there are times where it is just plain easier.
The following code snippet goes after an Oracle sequence and gets the value.
EntityManager em = this.getEntityManager();Query query = em.createNativeQuery("SELECT BLOG_ITEM_SEQ.nextval FROM DUAL");Vector blogItemRow...
on Aug 22, 2007
One of the most repeated question in GlassFish mailing list is SSL, Certification, Mutual Authentication,.... In this Entry I will try to address some of this questions by giving an step by step guide for using EJBCA to issue certificate, use them in both glassfish and clients which connect to glassfish in some manner. clients like web browser, standalone java applications,...
There are several...
on Aug 16, 2007
The free 2007/2008 Sun Tech Days Program, Sun's worldwide developer conference, will start in Boston, MA on September 11-12, followed by conferences in Rome, Milan, Shanghai, and other locations between late September and May 2008. Technical experts on the Java platforms and Solaris OS will hold technical sessions and hands-on labs on a variety of topics, including Java EE 6 and GlassFish, Java...
on Aug 13, 2007
It was shown in the previous article
Extending the NetBeans Tutorial JSF-JPA-Hibernate Application, Part 3 - Enabling JMX Monitoring on Hibernate v3 and Ehcache 1.3.0 on "SimpleJpaHibernateApp"
how to configure Java Persistence API (JPA) based application to use Hibernate and Ehcache as the JPA and caching implementation provider respectively.
on Aug 11, 2007
The motivation behind re-namespacing Dojo for jMaki was simple. We want to have both Dojo 0.4.3 and Dojo .9 running in the same web application and we also want to give our users the ability to use jMaki many years in the future. So I undertook the task of re-namespacing Dojo by hand and quickly found out that it was a involved task. Reason being there are 27350 instances of the word Dojo spread...
on Aug 10, 2007
Because I was presenting MCP at
the first ever Jazoon conference, my
friend and expert JSF Developer Alexander Jesse invited me to speak at
the first ever JSF User Group meeting. The meeting was held at a Credit
Suisse office in Zürich on the evening of the last day of the
Credit Suisse is the largest financial institution to go public with
its investment in JSF, though...
on Aug 1, 2007
During the latest days I've been fighting with my hosting provider because I tried to deploy Xwiki (xwiki.org) in my hosted web site. The core issue was XWiki requires that the web container security policy includes:
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
Actually, it's Struts and Velocity that requires that, not XWiki code itself. See for more info
on Jul 31, 2007
In Widgets talking to Widgets Carla describes how widgets from different toolkits can easily communicate. There is a more basic level of communication which you can do declaratively which we call jMaki Actions
jMaki Actions are a declarative way of associating widget behavior.
Consider a case where you have a Dojo Fisheye and you simply want it to select a tab or URL when an item is clicked....
on Jul 29, 2007
The Portal Post, Sun's group blog on portal development-related topics, recently underwent a redesign and now boasts a cool logo, pointers to a wealth of references, and frequent postingsat least one a day. The topics range from development tips to the latest in the open-source portal projects. Really impressive!
Kudos to the heroes behind the scenesthe Sun Java System Portal Server...
on Jul 27, 2007
Back in college I spent many hours
of my copious Freshman year free time playing LHX on Will Day's PC. At the
time, all I had was an Apple //c, which was already behind the times by
then. As you can read in the Wikipedia entry, this was a flight
simulation game. The thing I remember most was the "missle-cam" view,
where you could fire a TOW missle and then switch to the missle's eye
on Jul 25, 2007
Den hÃ¤r veckan Ã¤r jag i Stockholm och integrerar Grizzly ihop med Sailfin hos Ericsson.
En bra grej Ã¤r att jag lÃ¤r mig mera SIP pÃ¥ samma gÃ¥ng, samtidigt som jag hittar flera likheter med mitt Comet arbete :-) Kanske kan fÃ¥ sno lite fÃ¶r en Grizzly Commet variant!!!
Talking about Comet, if you are looking for a job, there was a post on the Grizzly mailing list about a position in...
on Jul 24, 2007