Cameron Wallace McKenzie

author and cow tipper
+ Follow
since Aug 26, 2006
Cameron likes ...
Hibernate Spring Tomcat Server
Toronto, Ontario, Canada
Cows and Likes
Cows
Total received
1
In last 30 days
0
Total given
0
Likes
Total received
39
Received in last 30 days
0
Total given
24
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Cameron Wallace McKenzie

Bear Bibeault wrote:
I know diddly about Spring or Spring Boot, but it's pretty clear that you've mapped the URI /welcome to a method that returns the string "welcome". There's nothing there that would cause the request to hook up with your JSP that I can see.



I think Mr. Bibeault may be on to something.

I wrote a tutorial on Spring MVC using Spring Boot, and for the life of me, I couldn't get Spring Boot to render a JSP. Spring Boot takes an 'opinionated approach' to enterprise development, and one of their key opinions is that JSPs stink. I simply couldn't get JSPs to work and gave up, using Spring's recommended Thymeleaf instead.

Having said that, when I've seen examples that do run, here are the dependencies I see in the POM. It does look like yours.



The only question I do have about your code is whether you have the @Controller annotation at the top of the file in which your @RequestMappings appear? I might even use @GetMapping instead of @RequestMapping just as something to try. Logically, it shouldn't matter though.
7 months ago
Not sure if anyone had noticed, but we did a nice little bit of cross-promotion of the CodeRanch and java-monitor over at TheServerSide with a couple of articles we pushed:

Is your Java Virtual Machine running unmonitored?

How to prevent unscheduled JVM downtime with java-monitor

5 years ago
I'm just switching servers and updating things for my new OCAJP book. It'll all be up soon!
Congratulations!
7 years ago
Enthuware is some of the best out there!

The only one I suggest people stay away from is WhizLabs.

Good luck!
7 years ago
It's a mixed bag nowadays, as the certifications have changed significantly.

Personally, I would never use Whiz Labs. If you're buying a brand new simulator, I'd look at one of the more reputable alternatives.

7 years ago
I like just plain OCAJP. With the SCJP and SCJA exam we never specified the version number. It was just the plain old SCJP, and then it was later specified which version.

Plus, it then differentiates itself with Part II, which hopefully will take on the moniker of OCPJP.

Have I sufficiently hijacked this thread? Since I'm a moderator, I should probably tell myself off.
Ahh. Proving your worth once again.

I think one of the first points of order should be standardizing the name of this darn exam. I've seen lots of people just call it OCA. This forum calls it OCAJ, which I don't like. I keep calling it OCAJP, which is in line with what Oracle calls it on their website.

Any thoughts?
I'm trying to garner up some insight on what alternatives exist in the Java space for large, enterprise customers looking to move away from their current portal server environments.

I'm seeing a lot of disillusionment in this particular space, especially with WebSphere Portal Server customers. Development seems to be difficult, integration of applications has never panned out like adopters originally envisioned, and the costs are horrendous, especially if you've not using the technology to its full potential, which it appears that many many customers are not.

There's an older CodeRanch thread on the topic, but most responses just seem to list alternate Java portals, not an alternate to using a portal altogether.

Enterprise Java Portal Alternatives - Old CodeRanch Thread

My struggle is figuring out what type of alternative to suggest to the disillusioned. Moving to and open source solution isn't embraced, as those who have been burned by the portal figure if they are going to move away from WebSphere Portal, they may as well just move away from a Portal server entirely. I'm not sure if that's the right choice, as I love Liferay and eXo, but the fact is, the term 'portal' has often become a dirty word.

So, are there any suggestions about good, solid alternatives out there, in the Java space, that are viable alternatives to implementing a global IT strategy that doesn't include an enterprise portal server?

I'm trying to garner as much insight as possible on the topic, and hear about experiences from various users, so I've started up posts on a few other boards. Here's the thread I started over on StackOverflow:

What is the alternative to a Portal software strategy in the enterprise Java space? (Stackoverflow)

I've also written a few articles over on TSS about the same topic, hoping for insight:

Insight Required: We need an alternative to Java based portals. But what is the alternative?
Everyone corporation needs an employ portal. Or do they?

I'll also be referencing this post from those other sights as well, so people with the same problem and the same set of questions about the portal experience can easily sift through the various answers and experiences.

So, any experiences or insights on what to do about the enterprise Java portal problem?
7 years ago
Well, sadly I wasn't able to quote any of the handsome staff and contributors here at the ranch. I did publish the article, just in case anyone is interested in reading.

http://www.theserverside.com/news/thread.tss?thread_id=64273

And I still think it might be amusing if we got some more input here in this thread. I can always update an article!
I'm finding that the term HTML5 is getting bandied about by people who are in fact not talking about anything that has to do with HTML5 at all. So, I was thinking of writing a funny little article for this other site that I patronize with a title similar to the one above. I'm just wondering if anyone's experience is similar to mine, and if anyone has anything interesting to add to the mix.

So, I was thinking about something like this:

If you think invoking a web service using an Ajax call is HTML5, you might be a luddite.
If you think laying out pages with stylesheets instead of tables is HTML5, you might be a luddite.
If you think JavaScript and CSS is HTML5, you might be a luddite.
If you think HTML5 fixes the cross-browser compatability issue, you might be a luddite.
If you think using HTML5 makes you part of the semantic web, you might be a luddite.

Surely some of the ranch hands might have a few observations they could throw into the mix. If you do have something to contribute, try to be fairly nice about it of course, not that we'd expect anything less from fellow ranchers.
How close do you think you'll get to the Aug. 22nd launch date posted on Amazon? I'm running a tad behind myself.
7 years ago
Just posted a fun little article over on TheServerSide about mobile development and cloud computing. It was inspired by a talk I had with Cathal McGloin from FeedHenry about Cloud Foundry.

Give it a read, it's an interesting article.

Why Mobile Developers Love the Cloud, But J2EE and WebSphere Administrators Hate It

Comment on the article at TheServerSide

- Cameron McKenzie
7 years ago
Looking forward to the next iteration of your Java Certification guides. Can't wait to see how you tackle Java File I/O (NIO.2) and concurrency.

For a contrast between the OCAJP and the OCPJP exams, test takers can go right to the source. Here's the objectives for the Oracle Certified Associate Exam:

Java SE 7 Programmer I (Associate Certification)
Java SE 7 Programmer II (Professional Certification)

You may have to click one of those links twice if Oracle redirects you to a page that tries to establish your geo-location. It keeps doing it to me, but maybe it's because I'm Canadian.