Matt RaibleMatt Raible is a Web Developer and Java Champion. 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.

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
Comments:

Could this Tomcat bug be contributing to your out of memory errors? http://insultconsult.com/archives/000026.html

Posted by Kurt Wiersma on April 24, 2003 at 01:28 AM MDT #

Besides using Jikes, try and configure the JVM mem sizes with -Xms and -Xmx params. I tried using them and they do not work on Win32 boxes, not sure if it will work for you.

Posted by dsuspense on April 24, 2003 at 02:24 AM MDT #

I'm not sure why dsuspense says the -Xms/-Xmx params don't work on Windows - as my experience says they do (we used them heavily in our apps). But I'm really writing to say be careful with Jikes. I used to be a huge fan of Jikes, but am no longer. I was mainly a fan because it compiled so much faster than javac. On my last project though, javac (from 1.4.1) compiled our 1300+ source files about 25% faster. I think Jikes may still be faster when compiling a single file, but in that case it's so fast that you can barely compare. But, what actually led to me switching was that Jikes had some bad bugs that simply prevented our code from even running. The problem was that stuff compiled, but then it had these weird bugs. I wound up debugging down into JVM source before I found a bug on the Jikes bug db that was pertinant to our situation (basically compiling lots of files). We've since run into other problems as well (on later versions), so now I simply just always use javac. You may also want to play with -Xincgc, and -server (can't use that with the JRE on Windows though, must use the JDK VM).

Posted by Chris Bailey on April 24, 2003 at 04:07 AM MDT #

I have my memory set to 256, so that shouldn't be the issue. Like you, Chris, I've experienced problems with Jikes. I think the last version I used was 1.14 or something like that. I found an issue where compiling my Struts classes with it causes my app to fail. Of course, it took me a whole fricken day to figure it out. My catalina.out file has all kinds of errors in it, so it's probably a bad velocity macro, or something else in the latest Roller release. I might try JRockit too - we'll see.

Posted by Matt Raible on April 24, 2003 at 04:32 AM MDT #

I've one word for you: "Blojsom"

Posted by Andy on April 24, 2003 at 06:53 PM MDT #

That is some ancient Jikes version you are using! Get the latest and enjoy it. If you think Jikes is slower than javac, you must be using old Jikes and new javac. Get Jikes 1.18.

Posted by Anonymous on April 25, 2003 at 04:53 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed