Matt RaibleMatt Raible is a writer with a passion for software. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Matrix on IMAX

the matrix reloaded This is huge (via Erik)! The second Matrix movie sequel is to open on giant Imax film screens in the US at the same time as standard cinemas. Fricken SWEEEEEETTTTTTT!!!! I'm so pumped to see this movie - and now it's going to be shown on IMAX?!! Man that's cool! I'm going to have to motivate a skip work day so a bunch of us can get together and see it when no else is there.

Posted in General at Apr 24 2003, 09:19:34 AM MDT Add a Comment

RE: This site's performance

I tried to switch my JVM to BEA's JRockit last night, but had no luck - Tomcat wouldn't start, so I switched back to Sun's JVM. However, I was running 1.4 and I switched to 1.4.1. Performance seems to be better, and there aren't very many errors in my catalina.out file (this is a symlink to the file) since last night. I guess we'll have to see how the site holds up throughout the day. I didn't install Jikes because it's an RPM and I believe Keith has to install those. Also, after Chris's comments, I'm a little less inclined to make the change.

I also have a few questions for Dave regarding both #showTrackbackURL($entry) and #showLinkbacks( $day ). First, how is the Trackback URL supposed to be used? Are folks expected to use this to link to an entry of mine (vs. a permalink), or what? Why should I display it like Lance does? Secondly, the showLinkbacks($day) macro is not present in any of my local *.vm files. Maybe I deleted it by accident. Which template should it be in?

Later: So if I understand this correctly, a Trackback is basically a way of telling someone you've referred to them, and your entry will show up in their comments. Whereas as a Linkback is a feature that checks referrers for URLs linking back to your site? Now I just need to find out where my #showLinkbacks() macro disappeared to.

Posted in Roller at Apr 24 2003, 07:57:33 AM MDT 3 Comments

Snow in Denver

Glad I'm not riding to work today!

Glad I'm not riding to work today!

Later: Yeah - that's snow! We only got a little bit in Denver last night, but Loveland Ski Area got 25 inches in the last 24 hours! Wow!! Oh yeah, that's my wireless internet antenna on our roof.

Wanna hear about the stupid move I did yesterday? Sure you do ... come on... OK, so I signed up (and paid) for the Rocky Mountain Software Symposium next month. Julie has been planning a trip to Florida in May for the past few weeks. She bought her plane ticket a couple weeks ago, but never bought mine because our internet service stopped working in the middle of her 2nd transaction. So she waited until yesterday, found a good price, and called me to ask if she could buy my tickets. She bought them, I approved it at work, and all is peachy keen. Right? Wrong - I received an e-mail from from Jay Zimmerman last night (via a mailing list I'm subscribed to), and doh! - Julie bought tickets leaving the Thursday before the conference. So I had to call and change my flight and pay the $100 change fee. Damn - hope the conference is worth it - there goes my early bird discount rate! Damnit!

Posted in General at Apr 24 2003, 06:43:04 AM MDT Add a Comment

This site's performance

This site crashes more than a 16-year old trying to pick up the ladies. You can check out all the errors in my catalina.out (3+ MB) file (snapshot from last night). Mostly OutOfMemory errors causing the issues. I'm going to try and configure jikes to run as my JSP compiler, we'll see if that helps. I'd like to try it locally first (on my Win2K machine), but it looks like I have to compile it with the -encoding option to make it work. Ughhh. Why don't they have an encoding-enabled download!?

Posted in Java at Apr 23 2003, 04:36:28 PM MDT 6 Comments

The University of Miami Job

The good news is that I got an offer for the job at the University of Miami yesterday. The bad news is I didn't take it. The pay was too low (1/2 of what I'm making now) for us to even consider it. Julie's main criteria for moving to Florida is she doesn't want to go back to work. She wants to be a stay-at-home mom for a few years, and I don't blame her. So I had to make the call today and turn it down. It sucked. The folks at U of M seemed like very nice people and (probably) would've been a great team to work with. Oh well, life goes on. Maybe in a few years when Julie is working again. Nothing against U of M, it's their pay structure that needs work. It must be tough to get highly qualified developers with such a low pay scale.

Now Julie and I are questioning the move to Florida. We really want to get out of our house - it's a tri-level and Abbie's going to be crawling soon. So I think we're going to put our house on the market. If I still don't have a gig in Florida by the time we sell it (could take a while) - we'll just buy our next house here. Of course, this plan sounds great to Julie while the weather in Colorado is nice. I'm willing to bet that she'll sing a different tune in October. ;-)

Posted in General at Apr 23 2003, 11:25:28 AM MDT 1 Comment

New Certification Exam from Sun

I got this notification from the Denver JUG mailing list:

The Certification team is in the process of creating a NEW certification exam!

"Sun Certified Business Component Developer for the Java 2 Platform, Enterprise Edition"

This certification is for programmers specializing in leveraging the Java 2 Platform, Enterprise Edition (J2EEtm) technologies used to develop server-side components that encapsulate the business logic of an application. Prior to beginning the Sun Certified Business Component Developer program, you must be a Sun Certified Programmer for the Java Platform (any edition).

I'm wondering if a "Business Component Developer" is a fancy name for an EJB Developer? Remember the Web Component Developer (Servlets/JSPs)?

Posted in Java at Apr 23 2003, 10:31:35 AM MDT 1 Comment

Struts + OJB Example at SourceForge

James Mitchell has contributed a modified version of Chuck Cavaness' Beer4All Shopping cart demo to the Struts' SourceForge Project. If you're looking for an example of using OJB with Struts, this is probably your best bet. From the struts-user mailing list:

Ok, just got off the phone with Chuck.  He said he doesn't mind, so here is
the version that I have:

  http://sourceforge.net/projects/struts/

Note - This is a simple webapp and not all the features have been
implemented.  I will continue to improve the codebase over the next few
months, but this is a "use at your own risk" sample application.

To deploy "as is", you will need to configure your database connection
(repository.xml) and create a database (or change the config) called 'ojb'
with a user 'ojb' and password 'ojb'.  Next execute the sql.sql against the
new database to create the necessary data and internal tables (OJB).

Use you best judgment to deploy on your container.  I can help if using
Tomcat, Resin, or JBoss/Tomcat.  Personally, I use JBoss/Tomcat so the
unzipped/exploded war should deploy if you extract it to
server/default/deploy.

Have fun!!!

--
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org

BTW, there are quite a few Hibernate example apps (appfuse, hibernate and struts-resume) at the Struts SF project as well.

Posted in Java at Apr 23 2003, 10:22:43 AM MDT Add a Comment

Making your tables more accessible?

A question was asked on the display tag user list recently. Basically, the user wanted to add onmouseover and onmouseout events to the <tr>'s in a display-tag rendered table. Today, I decided to whip up a quick example of how to do this in a DOM-compliant browser. Just add an "id" attribute to your table, or use document.getElementsByTagName("table") (selecting the appropriate table in the array), and then put the following JavaScript block below your table. Of course, you must define a "tr.over" class in your CSS.

<script type="text/javascript">
    var table = document.getElementById("testTable");
    var rows = table.getElementsByTagName("tr");
    for (i=0; i < rows.length; i++) {
        rows[i].onmouseover = function() { this.className='over' };
        rows[i].onmouseout = function() { this.className='' };
    }
</script>

Now for an example:

       
       
       
       
       
       

Later: You can take this one step further and add an "onclick" event so that the user can edit the record the row is referring to. Let's pretend you have a link in the first <td> of the table. Inside this link is the recordId for that row. Adding an onclick to the row makes it easy to route the user to the details page for the record.

rows[i].onclick = function() {
    var cell = this.getElementsByTagName("td")[0];
    var link = cell.firstChild;
    var id = link.firstChild.nodeValue;
    location.href='URL to details page?recordId='+id;
    this.style.cursor="wait";
}

Posted in The Web at Apr 22 2003, 04:55:25 PM MDT 25 Comments

An iPod in my future?

iPod I'm thinking about getting an iPod. I've been using a walkman tuned to the FM stations in Denver for my ride to/from work, but it's not cutting it anymore. So the question is "Which one?" There's a Windows version and a Mac version, and supposedly the iPod is configured to only work with one machine? My Windows machine has all my music on it, and my music-downloading software, so the Windows version is probably the best candidate. Another reason for the Windows version is that my Win box never moves - it's always at home.

5 gigs or 10? I only have around 500 songs - so 5 gigs is probably a good size. With 27 gigs free on my OS X hard drive, I don't really need more space. What I'm really asking here is: Send me links of good software for the iPod. I've heard rumors that there's stuff out there that'll allow you to use it on more than one machine. Feel free to remain anonymous, or use my contact page to send me an e-mail if you don't want to comment.

Posted in Mac OS X at Apr 22 2003, 11:25:28 AM MDT 5 Comments

Roller Bugs?

I'm encountering the following bugs with Roller's 0.9.7.1 - once I make sure I can reproduce them with the latest build, and the "x2" theme, I'll enter them as bugs (then hopefully fix them).

  • News items - newsfeed.vm has some issues and won't render newsfeeds correctly. I seem to be the only one using these, but I believe a fix is still in order. This is only a bug with the new velocimacros. I had it working yesterday, and then Dave updated weblog.vm and website.vm, and now it's broken again. I reverted my newsfeeds back to the old $macros.showAllNewsfeeds.
  • Linkback - I can get linkback to work, but I can't get it to display after each day - it only shows up at the bottom of all my entries. It might be an HTML issues - I'll have to validate this site as XHTML and do a bit of cleanup to confirm this is actually a bug.
  • Joe Hewitt comments - I have the display working, but posting doesn't. Actually, the post works, but the redisplay doesn't. I'll have to post a few comments on Joe's blog to verify that his comments system works like I expect it to. Maybe I should check-in what I have working and someone else can hack around with it?

I doubt I'll get to verifying/fixing these for a few days. Today is our 3 year anniversary, tomorrow will be another ride-home-day/late arrival (last night I got home at 8:00) and Thursday night I'm going to the Jimmy Buffett concert. As for today being our anniversary - it's been an awesome 5 years since I met Julie - getting married to her was the best decision I ever made, and having Abbie was the best decision we ever made. Life just keeps getting better, what luck!

Posted in Roller at Apr 22 2003, 07:13:27 AM MDT Add a Comment