I found this post (via DZone) pointing to a new NetBeans editor color theme, called Aloha, that is more quiet, not as highlighted as the default but similar to norway today theme.
Wednesday, January 30, 2008
Tuesday, January 29, 2008
A file format repository
Today, via Black Byte I found wosit.
The Wosit slogan is The programmer's file and data resources. It contains a lot of file format specifications categorized on different areas: music, GIS, image, etc.
Probably you can read many of these file formats through a library but if you are who program the library you are welcome to take a look.
The Wosit slogan is The programmer's file and data resources. It contains a lot of file format specifications categorized on different areas: music, GIS, image, etc.
Probably you can read many of these file formats through a library but if you are who program the library you are welcome to take a look.
Tuesday, January 22, 2008
Some notes on GlassFish v2, JDK6 and JDBC4 (PostgreSQL)
These are my today experiences (really my today headaches) porting a couple of applications from GlassFish v1 running with JDK5 to GlassFish v2 running with JDK6.
The applications was developed with NetBeans 5 and consist of a couple of EJB modules and a couple of web applications using the VisualWebPack in the NetBeans 5 (JSF).
First, I downloaded and installed JDK6 and GlassFish v2.
Before deploying the application you must take into account that my JDBC driver in GF1 (running JDK5) was a JDBC3 PostgreSQL driver. This driver is compiled for JDK5, thus I need to download and install (in the GF2 server) the JDBC4 version (not completed yet).
Next, I have created some database resources using the JDBC4 drivers. This works but generates a lot of warnings when application runs. To avoid them you need to put this option in your resources
Finally I have developed the applications. I this step I found strange behaviors and some server crashing problems. After trying 1000 thing I found that the problem was in a hyperlink in a JSF page. For an unknown reason, changing the hyperlink by a button (mantaining the same action) resolve the problem.
If you are working, like me, with PostgreSQL I would like to point this link about sequences:
http://wiki.glassfish.java.net/Wiki.jsp?page=FaqPostgresSequences
The applications was developed with NetBeans 5 and consist of a couple of EJB modules and a couple of web applications using the VisualWebPack in the NetBeans 5 (JSF).
First, I downloaded and installed JDK6 and GlassFish v2.
Before deploying the application you must take into account that my JDBC driver in GF1 (running JDK5) was a JDBC3 PostgreSQL driver. This driver is compiled for JDK5, thus I need to download and install (in the GF2 server) the JDBC4 version (not completed yet).
Next, I have created some database resources using the JDBC4 drivers. This works but generates a lot of warnings when application runs. To avoid them you need to put this option in your resources
JDBC30DataSource=true
.Finally I have developed the applications. I this step I found strange behaviors and some server crashing problems. After trying 1000 thing I found that the problem was in a hyperlink in a JSF page. For an unknown reason, changing the hyperlink by a button (mantaining the same action) resolve the problem.
If you are working, like me, with PostgreSQL I would like to point this link about sequences:
http://wiki.glassfish.java.net/Wiki.jsp?page=FaqPostgresSequences
Monday, January 07, 2008
Wikia is here !!!
Wikia is the wiki search engine of wikipedia author. The results of the searches are based on people , in the same way the wikipedia is based on people.
Wikia's search engine concept is that of trusted user feedback from a community of users acting together in an open, transparent, public way. Of course, before we start, we have no user feedback data. So the results are pretty bad. But we expect them to improve rapidly in coming weeks, so please bookmark the site and return often.
It has a lot of interesting things, like the miniarticles, people matching the same search, different indexes and the "next results button" (usually we don't see far away than the first ten o twenty entries).
Wikia's search engine concept is that of trusted user feedback from a community of users acting together in an open, transparent, public way. Of course, before we start, we have no user feedback data. So the results are pretty bad. But we expect them to improve rapidly in coming weeks, so please bookmark the site and return often.
It has a lot of interesting things, like the miniarticles, people matching the same search, different indexes and the "next results button" (usually we don't see far away than the first ten o twenty entries).
Friday, January 04, 2008
NetBeans and the suite chaining
Lately I was fighting with the suite chaining concept. Although you need to do some thing manually (there is no automatic task in NB) it is very straightforth to do it.
Sorry, but I think for reading the next lines you must be familiarized with the NetBeans jargon. It is not too much complex but sounds you as a foreign language you can't understand. You can start reading this first.
As the documentacion in the
Suppose you have one platform P1, say the bare NetBeans Platform. Then you have a module suite S1 with modules M1a...M1z which uses P1. Now it may happen that you want another suite S2 with modules M2a...M2z to depend on S1 as well as P1. This is possible, though not yet trivial to set up. Basically, you will make a new platform P2 by building S1 + P1.
The idea is create a module suite S2, instead of based in the NetBeans platform, based on a derived platform build from a previous module suite S1.
Ok, that sounds easy but what about a real study case? Well, to explain it I prefer to point this post in the Fabrizzio's blog: NetBeans RCP - beyond suite chaining.
Sorry, but I think for reading the next lines you must be familiarized with the NetBeans jargon. It is not too much complex but sounds you as a foreign language you can't understand. You can start reading this first.
As the documentacion in the
$NETBEANS/harness/README
file says:Suppose you have one platform P1, say the bare NetBeans Platform. Then you have a module suite S1 with modules M1a...M1z which uses P1. Now it may happen that you want another suite S2 with modules M2a...M2z to depend on S1 as well as P1. This is possible, though not yet trivial to set up. Basically, you will make a new platform P2 by building S1 + P1.
The idea is create a module suite S2, instead of based in the NetBeans platform, based on a derived platform build from a previous module suite S1.
Ok, that sounds easy but what about a real study case? Well, to explain it I prefer to point this post in the Fabrizzio's blog: NetBeans RCP - beyond suite chaining.