Development Collaboration Under Netbeans
Ever worked in a multi developer environment where everyone is spread out geographically, or in different offices/levels etc?
Netbeans with the OpenFire server allows you to set up comminication infrastructure to allow you to share code, chat etc with one another in real time privately and securely.
This document goes through how to setup Netbeans and Openfire together to allow developers to collaborate together.
I'm having a little problem adding links at the moment, so the full URL is below.
http://mediacast.sun.com/users/jcapsuser/media/Netbeans-Collaboration.pdf/details
Posted at 12:00AM Apr 02, 2009 by Holger Paffrath in Sun | Comments[0]
Wikify Your Documenation
Those that have an aversion to Wiki's - look away!!!!
Want a quick and central method for writing your documentation for Java CAPS in wiki format?
I came across a product called tiddlywiki (www.tiddlywiki.com).
Its a free personal wiki that is contained in an html file and a small jar file.
Open up the html file in any web browser and you can start editing your wiki. The best bit is, its an html file, so it can be hosted on any web server (viewable only).
Glassfish, being an appserver has web server capabilities, so you can host your documentation on the same server that your Java CAPS environment runs on.
Great for keeping details regarding your Java CAPS implementation.
Also, being so small, it won't kill Java CAPS.
To deploy tiddlywiki on your Glassfish server, simply place the html (after renaming from empty.html to something more appropriate) and jar file in the JavaCAPS6/appserver/domains/domain1/docroot directory. The jar file isn't really required its only used to save your changes, but its handy to keep it with the html file.
To access, use http://hostname:port/wikiname.html
To edit the wiki, you will need to open the file locally in the browser (ie in the docroot directory), make your modifications that way.
This also works in older versions of Java CAPS. For 5.X, place the tiddlywiki file in JavaCAPS5/logicalhost/is/domains/<domain>/docroot and to access use http://hostname:port/wikiname.html where the port is 18001 instead of 8080.
If you need something with a little more grunt - http://www.wikimatrix.org can do search through the various wikis for one that suits your needs.
Posted at 12:11PM Feb 17, 2009 by Holger Paffrath in Personal | Comments[0]
Connecting to Java MQ through JNDI Programmatically
The following document goes through how
to set up JNDI for a queue in Java MQ and then gives you source code
to read and write to the queue. This source can be used as a basis to
send messages to Java CAPS for automated testing within your Java
CAPS implementation.
I have only tried the program on my
localhost, so I'm not sure how well these instructions will hold up
for remote hosts. When I get a chance to try it out and getting it
working, I'll update this document.
Posted at 11:41AM Feb 05, 2009 by Holger Paffrath in Sun | Comments[1]
Rebuilding Netbeans for Java CAPS 6 Repository Based Projects
I had the problem today with a client where they had to re-install netbeans, but once installed - all the Java CAPS Repository components could not be found.
So, to help with the problem, I've put together this little tutorial on how to re-configure Netbeans to add the Java CAPS Repository.
The tutorial can be found here.
Oh, and an update on using Java CAPS 6 with Linux. I still haven't had a chance to use it in anger. I'll get around to it eventually. I also upgraded my Kubuntu to Intrepid Ibex and lost Compiz :-( so I don't know if the issues I've had with Compiz and Java have been fixed.
Posted at 03:55PM Dec 08, 2008 by Holger Paffrath in Personal | Comments[0]
Java CAPS 6 and Ubuntu
I've been having a little play around with installing Java CAPS on Ubuntu. My main testing so far has focused around Repository based projects as I foresee that most of my future work in the short term will be here.
So far here are my findings.
- Installation was quite straight forward. Run the Linux.bin file and follow the GUI. I selected all default settings. So my installation was a breeze.
- Our old favourite queue manager stcms will not work by default on Ubuntu. Its supported on RedHat and Suse, but not ubuntu. I tried to install it regardless and I think it caused a problem during the installation. On my first attempt, I could not get the Enterprise Manager to connect to my domain. On my second attempt installing without stcms, everything installed fine.
This isn't a big issue as Java CAPS 6 now comes with Java MQ. This is the new native queueing architecture. Its a fully java implementation, so no more pesky stcms.exe process to worry about. The default queue port number has changed from 18007 to 7878. From my initial testing, it works fine. - The second issue I encountered was to do with the Gnome desktop. For some reason, my connectivity maps would not render properly. When I double click on a service (BPEL or JCD) it would not render correctly. Changing the desktop to XFCE or KDE fixed the issue. I suspect that its a problem with Gnome and should be fixed with the next version of Gnome. Speaking of Desktops, I've installed the latest build of KDE (Version 4.1.1) and I love it. Its got a similar look and feel to Vista, but just a touch better.
My Ubuntu environment has been set up using WUBI which allows you to install ubuntu under windows without having to re-partition your drive. I recommend though that if you are thinking of playing around with Java CAPS on Ubuntu with Wubi, that you use a partition greater than 8Gb. At least 10-15Gb would be better. I ran out of space and had to create a second virtual disk, Not because of Java CAPS, but because I stated installing a lot more stuff.
I'm going to try and slowly move to Ubuntu as my everyday environment. This will largely depend on what I'm doing as I have to work with Windows for older versions of Java CAPS. I've still got to get a few things working outside of Java CAPS - such as trying to get my Windows Mobile phone to sync up with Thunderbird and Lightning.
As I learn more, I'll post it up.
Posted at 01:29PM Sep 10, 2008 by Holger Paffrath in Sun | Comments[3]
