I just updated the Cejug-Classifieds Project to support Maven 2 builds and I added some new features, including a Shell Script able to configure the resources and also to deploy the the application in the Glassfish V3. The script creates all Java EE resources required by the application, like the DataSource, the JavaMail connection and the JMS Queues. In the next sections I will describe how to...
on Mar 4, 2010
Here are steps showing you how to prepare and install a SSL certificate purchased from Godaddy into GlassFish v3 server. To learn more about Godaddy certificates and step to buy a certificate you need to take a look at http://www.godaddy.com/ssl/ssl-certificates.aspx?app_hdr=. After you understand what Godaddy offer and whether it suites your requirement you can use the following steps to get and...
on Mar 1, 2010
For meanwhile more than 25 years I am writing computer programs. More than a decade I spent with programs accessing databases, virtually always relational ones. I soon learned that this is rather hard work. Not only that you need to know about the theory behind RDBMS iself, but also you need to know the technical APIs (like ODBC, ADO, RDO, JDBC, JDO, JPA, CMP, ...), the structure of...
on Feb 28, 2010
I received a message from the JFrog team, announcing the release of Artifactory 2.2.1:
We are pleased to announce the availability of Artifactory 2.2.1! This is a maintenance bug fixes release for 2.2.0. Artifactory 2.2.1 is available for immediate download from JFrog's web site or directly from SourceForge. Instructions for upgrading to 2.2.1 from previous versions can be found here. For a...
on Feb 19, 2010
The Continuous Blog has two new posts about the new Hudson 1.346 release. In Hudson 1.346 Released, Tyler Ballance breaks down the 1.346 release in terms of bugs fixed and enhancements. The very interesting follow-on blog by Kohsuke Kawaguchi is Performance improvements in 1.346.
on Feb 16, 2010
As I noted last week, the java.net Java Tools Community is attending and tweeting from the Campus Party Brasil event this week. Now, in my post last week, I pretended the event was just going to be a fun-filled affair. Now that the tweeting has begun, I decided to check in on the feed. Here's a sampling of the Java Tools tweets from Campus Party Day One (in time forward order):
You can watch...
on Jan 26, 2010
I've finally managed to produce the Windows installer for Hudson, as originally raised by Håkan Reis. Please try it out and let me know how it works.
This one took much longer than the installer for any other platforms, and while I normally think of Microsoft technologies very highly, Windows installers and WiX are a real disappointment. For example, you write the description of the...
on Jan 26, 2010
Given that Maven is much more complex than Ant, and it dinamically resolves dependencies, people are right to be concerned with having deterministic builds. But the vast majority of problems are solved by just three good practices:
version everything, including all Maven plugins
run once in a while mvn dependency:go-offline, that will download all the required stuff
routinely use mvn -o (offline...
on Jan 7, 2010
I authored a new refcard covering GlassFish v3, This refcard is different from my previous one which covers GlassFish v2. This new refcard discuss the following items:
Introduction to GlassFish application server v3.
GlassFish v3 versions, installation and directory structure.
Glassfish v3 daily administration tasks.
Glassfish v3 Restful interface for monitoring and administration.
on Nov 22, 2009
This is a very basic review of active and available open source Java EE Application servers and Servlet container (Web containers) to let the community know which active containers are available and what is the general status of each container. The article can simply act as a start point for anyone need to select one of them for later use in development or product. Detailed comparison of these...
on Nov 17, 2009
In the past weekend I've been able to improve the settings for
automated Maven releases that I've
blogged about about ten days ago. Peter Mount complemented
the information with some practical examples on how to use
that stuff invoking Maven with the proper parameters. I've been able to
significantly clean up and improve the Maven configuration, so now a
staged release can be performed...
on Nov 9, 2009
With the newcomer Vaadin module I
updated the Arena Project
script to support builds on Windows platform. Not a big deal in terms of
configuration but it is worthy a notification in case you had
tried to build the project before and got frustrated with the Platform
Classifier restricted to the UNIX-family.
Why to use Platform Classifiers? The lack of a
good Maven support for the Glassfish...
on Nov 9, 2009
After the latest upgrade of my Hudson instance, I noticed that a new option in the security matrix appeared: it allows anonymous visitors to have a (read only) look at a job configuration, if the administrator allows it. I think it's a great feature (that I was asking for some months ago), as it allows to share our knowledge about our favourite CI tool.
So I've opened most of my jobs and you can...
on Nov 9, 2009
I recently got pointed to that link: http://java.dzone.com/news/ant-18-scanning-leaves-171
I read the news with some pleasure reminding me that I still like Ant based builds very much over Maven in many cases.
Of course there are a lot of well maintained projects on the web that work very well with Maven. You never know how many enthusiasts-hours have been spent to make that happen. However, in...
on Feb 17, 2010
The long awaited and the most looked upon version of GlassFish released today. GlassFish v3 fully implements Java EE 6 specification which means EJB 3.1, Servlet 3, JAX-RS, JPA 2, Contexts and Dependency Injection for Java EE, Bean validation, Java EE profiles and so on.
GlassFish is not only the most up to date application server but it also benefits from a very good architecture. GlassFish...
on Dec 17, 2009
NetBeans 6.8 released coordinated with GlassFish v3 today. NetBeans 6.8 can be considered a fine step ahead of NetBeans because Sun is officially supporting the NetBeans RCP platform as a product from now on.
NetBeans 6.8 features are as follow:
Java Enterprise Edition 6 support
Web Projects with JavaServer Faces 2.0 (Facelets)
JavaFX 1.2.1 support
Kenai.com: Connected Developer
on Dec 17, 2009
For many years I am using XSLT now for a lot of tasks in both, development and runtime environments: Source generation, creating HTML from XML data, or even rendering SVG vector graphics from XML finance data. But what really bothered me was that the XSLT transformer contained in Java (even in Java 6's latest release) was just able to do XSLT 1.0 but not XSLT 2.0. XSLT (and XPath) 2.0 comes with...
on Feb 6, 2010
Happy New Year folks!
In 2002, I wrote a highly specialized, very small Q&D tool for my brother to support him in his oncological doctoral's practice. They are three physicians sharing a common room with some unique ultrasonic device. They needed something showing them at their desk wether the room is available or is currently occupied by somebody else. The name 'dokma' is a German pun....
on Jan 1, 2010
Java Web Services and XML
Christmas holidays is one of my favourite moment in the year, I have time to see my relatives, read books, play with my kids and hack a little bit.
I think I don't like the most in the strawman proposal is that the syntax for function type and for lambda literal reuse the same symbol '#'.
It's something that I've observed when teaching C. The C syntax use * when you...
on Dec 27, 2009
We can't live without Javadoc, but even if it useful, it's not complete. One missing thing is UML within the Javadoc.
To add UML to your Javadoc, is quite simple. You need to add Graphviz into your maven build.
First you need to download and install Graphviz. Go there Graphviz
After that you should add the variable GRAPHVIZ_HOME (that point to the installation folder) into your system.
on Dec 26, 2009