Friday, March 28, 2008

BlazeDS, Flex, Spring, Hibernate, Tomcat

I've been banging my head against this "stack" for a while, with some (qualified) success. I'm hoping to get some code onto code.google sooner or later, but I'm a bit busy converting my current project *away* from java and toward Cold Fusion (using ColdSpring and Transfer).

I'll post something when (if) I finally get a chance to get things working.

Brief synopsis, however (see delicious for any appropriate links):
  1. Installed Tomcat 6
  2. Configured a database (SQL Server, MSDE in this instance) with three tables (tUsers, tRoles, lkupUserRoles)
  3. Snagged the jTDS driver
  4. Configured Tomcat default realm to authenticate against the db
  5. Installed BlazeDS
  6. Made a copy of the BlazeDS folder for my new project
  7. Stuck Spring and Hibernate in it
  8. Wrote some java code for my user and role POJOs (IUserDAO, UserDAO, User, etc.)
  9. Wrote config for Spring to point to Hibernate stuff & User/Role beans
  10. Wrote config files for Hibernate to tell User/Role how to work
  11. Wrote destination config stuff into the flex services xml
  12. Wrote flex project/code to talk to the destination

Like I said... I'll post more on this later, and all the tweaks I had to do to get things working right. (although I never was able to get Security working like it should).

Tuesday, March 11, 2008

system.out.println("Hello World");

Yeah... this is the first post on my blogspot blog. I used a geeklog site for a while, but never kept up with the updates to it (both the geeklog software as well as my blog). Can't really do that from a security standpoint, so I decided to scrap geeklog and just use an app where someone else fixes the security holes (is that lazy or smart?)

Stay tuned... I'll be posting stuff off and on. Probably going to post stuff about the upcoming BABY! As well as whatever else strikes my fancy.