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.

RE: Tiles 201 - Using Controllers

Patrick has published another excellent article on Tiles. This one is titled Tiles 201 and is about using Tiles Controllers. Good stuff to know - especially since I've never used a Tiles Controller (I might now!). I really like the clear and concise way that Patrick writes tutorials. I think we, as open source developers, should do more of this to better explain the technologies we use. So next time you're interested in learning something, I encourage you to write a tutorial on it - I'm willing to bet you'll learn and retain a lot more. If you don't understand something or make mistakes, I'm sure there are many Java Bloggers willing to help you get it right.

Patrick mentions that the Tiles Controller is not discusses in any of the existing Struts books. This sounds like an opportunity for me to include it in my chapter. With Patrick's simple and easily-understood example, this shouldn't take too much effort. Thanks Patrick - great stuff! One question I have - I know that these types of posts take a long time to create/edit and correct. Your blog says "sponsored by browsermedia" - does that mean you get paid to blog in a sense? Meaning - are you writing these articles at work?

Posted in Java at Feb 12 2003, 08:51:54 PM MST Add a Comment

TiVo Upgrade Offer

If you're a TiVo owner, you've probably seen this upgrade offer in your TiVo messages. It looks awfully tempting:

Between now and March 10th (or while supplies last), we're offering you the one-time opportunity to make the switch to Series2 and transfer your product lifetime service. Ramp up your recording space to 80 hrs and gear up for Home Media Option.

For an additional $100, you can get the "Home Media Option" package and access MP3s, Photos, and schedule programs to record from the web. This is a good time management tool if you're a TV watcher. I grew up without a TV, so I don't really like watching TV and I think it's a waste of time. However, Julie is a TV addict - so much that she has to have it on all night while she sleeps. When I do watch TV, TiVo is a must.

Posted in General at Feb 12 2003, 08:25:03 PM MST Add a Comment

Integrating JSP/JSF and XML/XSLT: The Best of Both Worlds

I saw this nugget a few minutes ago on the struts-user mailing list. Maybe I'll even read it... ;-)

For those of you wondering how JSP technologies, including JSP 2.0, JSTL, Struts and the upcoming JavaServer Faces (JSF) 1.0, can work together with XML and XSLT, there is a new article at TheServerSide.com about this subject.

http://www.theserverside.com/resources/article.jsp?l=BestBothWorlds

The article presents the natural evolution of server-side Java programming from basic servlet programming to JSP 2.0 with JSTL and JSF, shows the limitations of the current JSF rendering architecture and how XML technologies can solve them.

The article comes with sample code that shows how to hookup an XSLT transformer with a JSP filter, and includes an experimental XML renderer for JSF.

Posted in Java at Feb 12 2003, 12:40:53 PM MST 1 Comment

[ANNOUNCE] Tomcat 4.1.20 Alpha released

I won't be installing Tomcat 4.1.20 Alpha since Tomcat 4.1.18 has been working fine for me, but the changes are insteresting nonetheless.

Tomcat 4.1.20 Alpha is now available for testing.

Changes over Tomcat 4.1.19 include:
- Fix classloading failures when using Tomcat in JNI mode with JK 2
- Upgrade to Xerces 2.3.0
- Admin webapp fixes (including fixes to saving to server.xml)
- Disable recycling of sessions
- Refactoring of session persistence
- Disable socket linger in Coyote HTTP/1.1 (delay when closing a socket), and allow configuring it
- Allow cross context from the root context
- Documentation updates
- Fix memory leak in Jasper when compiling JSP pages
- Fix JspC, which may now be used again for complex webapps precompilation, such as Tomcat's own admin webapp
- Fix isThreadSafe feature in Jasper
- Fix JspWriter recycling after an exception was thrown in a tag's body content

The release notes include the full list of changes.

[Download]

Posted in Java at Feb 12 2003, 09:52:43 AM MST Add a Comment

Javascript Libraries

I feel the need to post a link to Matt Kruse's JavaScript Toolbox. I needed some JavaScript to move <option>'s from one <select> to another, and I found it via Google in about 10 seconds. I also use Matt's Calendar Popup JavaScript stuff, so his great work is familiar to me. To be fair and provide a fair shake to other great JavaScript libraries, here are a few others I've heard of and sometimes used:

If you know of others, please comment with links and your experience.

Posted in The Web at Feb 12 2003, 07:14:36 AM MST 1 Comment

RE: How do they do it?

Dominic writes, "How in the world do they (Java bloggers) not lose their mind doing all these non-work related projects/activities such as: writing books, opensource development, consulting, etc." Since I do a lot of non-work related activity, I left a comment on his site, basically saying that I have no time-management skills and that the only way I get stuff done is to stretch the bounds of my relationship with my wife. This is because usually I tell her "I have to work tonight" and I get on the computer around 7 PM and join her in bed around midnight or 1. Then I get up at 4 and head into the office, only to do it again the next night (if necessary). I find this really sucks, particularly if I'm working a 40-hour week in 4 days. Since I have a new deadline looming (edit/return Wrox Chapters by Monday), I'm going to try something a bit different. I'm going to work an hour and a 1/2 at night (5:30-7), and then again in the morning (4-5:30) . I'll work an 8 hour day, getting off at 3, then I'll hit the gym and be home by 5. That's just this week, we'll see how it goes. In reality, I've found that the following things work the best for "getting things done."

  • Quit blogging and reading blogs. Same goes for e-mail - this can save 1-3 hours a day for me.
  • Plan your day and leave your computer/location when you say you're going to.
  • If you're reading a book or writing a paper - take it to the library. Go early and stay all day.
  • For me, working on Windows is a good 2-3 times faster than working on my Mac or Linux. Stay with the OS that you're most productive on.
  • When something small comes up that you need to do, just do it.

OK, now I'm going to follow a bit of my own advice and close Outlook and Phoenix.

Posted in Java at Feb 11 2003, 05:47:07 PM MST Add a Comment

Client-side Sorting with the DOM

I'm amazed at how easy it is to sort an HTML table with the DOM and JavaScript. I whipped up a quick modification of Porter's Sort Table Rows demo. The basic enhancements I made where removing the <a>'s from the table headers, and just adding an onclick handler to the <th>'s. I also added indicators to display the the current column/direction that's sorted. Seems to work in most of the browsers too! On Windows 2000, this includes IE6, IE5.5, Opera 7 and Phoenix 0.5. On OS X, the latest versions of Safari, Chimera, IE, Mozilla and Netscape. It doesn't work on OmniWeb, and the cursor: pointer doesn't work on the <th>'s in IE/Mac and IE5.5/Win. Anyway, you can checkout the demo or download with the relevant HTML, .gif and .js files. I've also included it below for your convenience.

I'd love to add this sort of capability to the display tag library.

Posted in The Web at Feb 11 2003, 12:54:38 PM MST 8 Comments

www.struts.ru

Cool - there's a new site for all the Struts documentation in Russian. I actually got a degree in Russian, and I dig Struts, so of course - this interests me. Beautiful country, awesome culture and a very rich history. Too bad I gave up Russian after graduating to learn all this computer stuff instead. Now I can barely understand a full sentence - and I was pretty close to fluent my senior year. One question I have for non-English programmers - do you write Java/JavaScript/CSS/HTML in your native language or in English? I've always wondered...

Posted in Java at Feb 11 2003, 12:50:34 PM MST 2 Comments

Whither ActionMappings

Ted Husted made a post last Friday to the struts-user mailing list. It looks like a good post for rookie struts users. I haven't read it, but hopefully by bookmarking it here, I'll read it soon.

Haven't quite decided where to use this, and it didn't seem like the best time to squeeze something new into the docs =:0), so I thought I'd post it here for now, in case it were of interest to some.

WHITHER ACTION MAPPINGS?

We write applications to do things for people. We might say, for example, that we want the appication to create a mail-merge job for us. Some developers call these top-level tasks "client stories". In practice, to do a big job like this, an application will need to take several smaller steps. We'll need to obtain the information from the user about which mail-merge job to create. We'll need to find the items to merge. We'll need to put the items together with a template, and we'll need to present the result back to the user. Some developers call these smaller tasks "use cases". To complete a client story, we usually chain several use cases together. A chain of use cases is sometimes called a workflow.

Before doing any thing for us, most applications wait to be asked. When we ask the application to do something, we usually need to provide a variety of details. If we ask the application to store a name and address, we need to provide the name and address to go along with the request. [read more...]

Posted in Java at Feb 11 2003, 07:43:45 AM MST Add a Comment

RE: Tiles 101

Patrick Peak has a weblog that was just started last Wednesday. He wrote a great post today on Tiles that I hope to send to the struts-user mailing list (as soon as I get his permission). Unless someone else has already done it, of course. This is definitely a blog to watch and enjoy.

Posted in Java at Feb 10 2003, 10:05:32 PM MST Add a Comment