Tuesday, May 4, 2010

jBPM Developer Guide Book (P)Review

When I returned from our spring vacation trip one of the things I found waiting for me on the porch was a copy of the book "jBPM Developer Guide". After my last jBPM book review I mentioned that the target audience for that book was not the jBPM developer. Well that seems to be addressed now. Here is a link the chapter 5, if you're interested while I'm reading the book myself.

Cheers,

--Kurt

Wednesday, March 17, 2010

JBossESB MBean Service Deployment Order

In JBossESB, MBeans can be deployed inside of .esb archives. The deployment is pretty much standard and the mbean configuration lives in the jbossesb-service.xml right in the root of the .esb archive. If you need the mbean to be up before the rest of the .esb deployment, then you can reference the mbean in the META-INF/deployment.xml. If the mbean depends on another .esb service archive to be deployed first the you need to add that dependency to the jbossesb-service.xml.

If you're looking for an example check out the jbossesb.esb.

--Kurt

Sunday, February 7, 2010

Cool MySQL Database Queries

1. Select a count of all rows in your database:

SELECT SUM(table_rows) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'database_name';


2. Select count of all rows of each table in your database:

SELECT table_name, table_rows FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'database_name';


3. Gets stats on a per hour basis, written out to CSV:

SELECT DATE_FORMAT(date, '%m/%d/%Y %H:00:00') AS date, DATE_FORMAT(date, '%Y%m%d%H') AS hour, count(id) AS requests, max(time), avg(time), count(distinct userName) INTO OUTFILE '/tmp/usage.csv' FIELDS TERMINATED BY ',' FROM statslog GROUP BY hour ORDER BY hour ASC;

Friday, June 5, 2009

jUDDI Release-3.0.0.beta

I'm proud to announce the release of jUDDI-3.0.0.beta. Since the alpha release the implementation has shown stability and performance, and it implements the final two UDDI API implementations targeted for the 3.0.0 release; "Subscription" and "Custody transfer". Subscriptions allow you to register for updates in the Registry. The registry will send out the notification by calling an endpoint defined at registration time. The generic UDDI client now supports InVM transport to allow jUDDI to run in embedded mode. For a complete overview of what went into this release see the release notes:
http://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10401&styleName=Html&version=12313630

Finally, we also started work on the console.


The console is Pluto portal which plugs in uddi-portlets. The portlets are GWT based. We'd have one to Publish, Search, Browse, Subscribe etc.. Right now you can see a tree of services under the publisher you log in as. You can download the portal-bundle from the following url if you want to see it all in action.
http://www.apache.org/dist/ws/juddi/3_0/juddi-portal-bundle-3.0.0.beta.zip

--Kurt

Synergy rocks (for once)

Whenever companies merge great "Synergies" are promised by upper-management. I hate that word. It's a red flag for me. So for that reason alone I had not tried out Synergy until yesterday. However I really like working on the mac, and this way I can; I can simply move my mouse across to the other machines. This is really pretty sweet. Finally a good use of the word synergy! Great work guys. Thx.

--Kurt

Wednesday, June 3, 2009

Setup of a Wireless Connection on a Lenovo T400 running centos 5.3

I recently installed Centos 5.3 on my Lenovo T400, and everything pretty much worked except for the wireless connection. I had a hard time finding instructions on how to get it working but this blog entry was most helpful.

First make sure the RPMForge repo is installed

rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
yum clean all
yum update

Next install the driver for the PRO/Wireless 5100 AGN[Shiloh] card from Intel

yum install iwl5000-firmware

The wireless device should now be working, and you can enable the NetworkManager to start using it

chkconfig NetworkManager on
service NetworkManager start

and you may want to save yourself some wait time at boottime by disabling the network since you don't need that anymore

chkconfig network off

Next you need to configure your wireless connection settings by going to System > Preferences > More Preferences > Network Connections



Select the Wireless tab and click on Add, and fill out your connection settings.

Saturday, May 23, 2009

jUDDI v3.0.0 SNAPSHOT

The jUDDI project has seen a lot of activity lately in the ramp up for the jUDDIv3 beta release. The biggest change with the alpha release is that for beta the Subscription API will be fully implemented. One of the missing features of jUDDI has always been a good console. After the beta release we will work hard to get that work completed. However it is very exciting that we already have the beginnings of the console.



You can download a ready to go bundle (3.0.0.SNAPSHOT) from the repos.

--Kurt