Christmas Pictures
We started a new tradition this year - annual family pictures. Here's some we had taken last weekend. Enjoy!
|
|
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 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.
We started a new tradition this year - annual family pictures. Here's some we had taken last weekend. Enjoy!
|
|
This biggest feature in this release is Documentation. I finally found the time to write up some Tutorials on developing with AppFuse. They're on my wiki and also in the "docs" folder of the binary and source downloads. In writing this documentation, I went through almost all aspects of the code with a fine-tooth comb made sure it's doing what I want it to do (lots of improvements from this).
I was finally able to get things working with J2EE 1.4, which basically involved removing j2ee.jar from my MailUtil's classpath and just including activation.jar and mail.jar. If you're not there yet, simply change the paths for activation.jar and mail.jar in properties.xml (look for common.compile.classpath). You can use j2ee.jar instead of mail.jar and activation.jar with J2EE 1.3 and 1.4 B2.
I was also able to get all unit tests to pass on Tomcat 5, and the "setup-tomcat" target now supports Tomcat 5. I wasn't able to get "Remember Me" to work - see the tomcat-user mailing list
for more details.
Included in this release are upgrades to Hibernate
2.1 Final and Display Tag
1.0 B2. For a complete changelog, view the README.txt in CVS
.
(~13.4 MB for src, ~4.3 MB for bin)
For more information on AppFuse, check out the AppFuse Wiki Page or FAQ.
I sent out my PowerBook on Tuesday at 4:00 and got it back today at 1:00. That's pretty darn quick for a mail-in repair! Now begins the process of upgrading to Panther (they installed 10.2.7 on the new drive) and restoring files. Hopefully I can get back where I left off.
This morning, I discovered Hula
- a Java client API to the WikiRPCInterface
. The nice feature I really like is that it allows you to export your wiki pages to static html
. Here's how to set it up on your JSPWiki:
Hula.
if you like, it only has hula.jar and the JSPs.Now I can write all my AppFuse documentation on the wiki and bundle it with the downloads - very nice.
One of the benefits of being up at 3:30 in the morning is you get to get the announcements first! Hibernate 2.1 Final has been released. I'll upgrade my apps to it, though I'm not using any new features. I've basically had the same code since 2.0 - you gotta like that backward compatibility remains a priority.
Tonight I attented the Denver Java User Group meeting. Tom McQueeney did a nice basic concepts meeting on XSLT. Tom's presentation was a nice refresher on XSL and I learned a few things I hope I can remember the next time I use it. I've used XSL a couple of times in the last few years, and for those applications that I still maintain - I'm very glad I did. The e-learning app I developed last year uses JSTL's XML Transformation tags to render assets with different HTML (i.e. Flash, QuickTime, Image). It's worked great, and has always been very easy to add a new asset type to the XSL stylesheet.
The main speaker tonight was Kathy Sierra, the founder of JavaRanch. Her presentation was supposed to be on the new EJB 2.0 Certification, but it turned out to be a explanation of how EJBs work. Only about 1/3 of the room (approx. 40 attendees) had used EJBs, so I guess that's why she went that route. She didn't ask if we weren't using them by choice. ;-).
She started off her presentation talking about how the brain works and how it fights all day long to forget stuff. Your brain has
a built-in crap filter. It only remembers those things that it needs to survive. It will only automatically remember those events that spark high emotions - fear, humor, arousal - because the chemicals caused by the emotions help you remember better. So when you're studying for your Java Certification (or any certification), the brain is going "screw this shit, I can survive without it." Repetition is a way to convince your brain that it is important. Another way is to get involved with your learning - be the EJB. Kathy did a captivating one-hour presentation with a number of audience members who acted out how EJBs work.
It was a very humorous presentation and great fun. An EJB presentation that was fun - WTF?! At one point, I looked around the room and almost everyone was learning forward and smiling. This lady is a captivating speaker, one of the best I've ever seen. I was very impressed with
her teaching/learning techniques and I might just have to buy her book, Head First Java. Another highlight of the evening was that I actually won a free book.
Later: I forgot to mention what Kathy said about upcoming Sun Certifications. A couple new ones are coming: Mobile Application Developer, Web Services and an update to the Web Component Developer exam. She mentioned that the EJB 2.0 exam would probably remain at 2.0 for at least another year - until all the vendors caught up and support EJB 2.1. She said the Web Services one is going to be hard as will the next Web Component Developer Exam. The Web Component Developer exam will cover JSP 2.0 and Servlet 2.4. She also mentioned that she was reading Pro JSP to help create the WCD exam. How's that for an endorsement?!
Last night, I upgraded a number of AppFuse dependencies: Hibernate
→ 2.1-rc, Struts
Nightly from 2 weeks ago → Dec. 2nd and the Display Tag
→ 1.0 B2. The upgrades weren't as smooth as I'm used to, so I thought I'd share my experience to help y'all when you upgrade.
First of all, I found that Hibernate has ditched the Java Caching System (JCS)
for their own, appropriately called Easy Hibernate Cache
. This means you can forget about including jcs.jar in your webapp, ehcache.jar is now required. I upgraded from Hibernate 2.0.3.
Struts has done some trimming of their own - getting rid of their dependency on commons-lang
. I use commons-lang.jar in AppFuse, so I had to dig into the contrib directory and grab it from there.
I had several issues with the displaytag when upgrading (from 0.8.5), but managed to figure them all out. First of all, the displaytag.tld in the jar's META-INF directory had the following in it's <taglib> declaration:
<taglib xmlns:html="http://www.w3.org/1999/xhtml">
This is obviously invalid, and I had to unjar, fix, and re-jar to get around this. I believe that this has been fixed on SF. I also found that this new version requires commons-collections 2.1. Struts must ship with an older version, so I simply replaces Struts' commons-collections with the one from the displaytag download.
Lastly, I had to configure the ResponseOverrideFilter
in my web.xml in order to get export functionality with Tiles. I had to tweek a LOT of CSS for this upgrade, but at least it's done now and hopefully I won't have to do it again for quite some time.
I also attempted to run AppFuse (with all these upgrades) in Tomcat 5.0.16 with no luck. With Hibernate 2.0.3, it was giving me an IllegalStateException when registering a new user. This process sets "Remember Me" cookies and redirects to the LoginServlet, which does a post to j_security_check and redirects to the originally requested page. Works fine in Tomcat 4.1.x, but not in 5.0.16. With Hibernate 2.1-rc1, I had to include jta.jar in $CATALINA_HOME/common/lib and now it still fails, but I get no errors whatsoever (those are always fun, aren't they). Also, still no luck with using J2EE 1.4
.
Last night we got around 5 inches of snow at our house. Beautiful stuff, I love it. Too bad I'm not on the slopes - Breckenridge got 9 inches. Here's some clips from the local news:
|
|
They have fairly strict firewall rules at my current project, but I've been able to get to all the sites I've ever attempted. That's why this error amazed me this morning:
Forbidden by rating check
You are not permitted to access the URL http://www.zeldman.com/ due to the policy of your organization.
So much for getting any good web design tips while I'm at work... ;-)
At my current project, we're using AppFuse for our baseline and (currently) Tomcat and MySQL for our databases. Soon we'll be migrating to DB2 for our database. I'm assuming everything will work smoothly with Hibernate, but there's probably some Ant things I will need to modify. For instance, with MySQL, I currently create a new database with the following script:
create database if not exists appfuse; grant all privileges on appfuse.* to test@"%" identified by "test"; grant all privileges on appfuse.* to test@localhost identified by "test";
Is this possible with DB2? It's no biggie if it isn't - at my Comcast gig earlier in the year, we tied AppFuse/Hibernate into Oracle and simply didn't use the db-create nor db-init (creates tables) tasks. I use Hibernate's <schemaexport> task to create the tables - hopefully this will work in DB2. As for Tomcat, has anyone successfully configured DB2 with Tomcat's DBCP? We'll eventually be migrating to Websphere 5, hopefully it's not a big leap from Tomcat 4.1.27.
I haven't done any research on this yet, just wanted to put out some feelers and get any helpful advice before I start banging my head against the wall (hopefully I won't have to).