Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

James White

Greenhorn
+ Follow
since Apr 22, 2003
James likes ...
Spring Java
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by James White

Hello Amritendu,


I wanted to know your thoughts on Java EE Architecture and how do you see it evolving going forward?
Welcome Richard, I'm sure there will be more than a few questions on the upcoming Java 7 certification exam.
Thanks Ken. I was finally able to get my login issues worked out. I bought the PDF of your book and am enjoying it thus far. Hoping to use Spring Roo to build something for the job soon.


9 years ago
Ken,

I tried to register for Spring's Roo Forum. It was a complete waste of time. I registered, I confirmed my account and I was still told my login was incorrect after 5 attempts. I felt like I was applying for a home loan instead of registering for a developer forum. If that forum is indicative of how Spring Roo handles it's users, then I'm not so sure I want to post on their site. It was a complete pain, I gave up.
9 years ago
Thanks for the reply Ken. I like Roo as well and I do see potential for it, but there are some aspects of it that makes me think that it's not quite ready for prime time (i.e. can I take a project in Spring Roo beyond creating prototypes). The rigidity on the web tier is a tough sell. I am a server-side developer for the most part, but what drew me to Spring Roo was the possibility of putting up JEE/Spring based applications quickly. Part of the reason I enjoy server side development vs. web development is the web just adds more stuff to configure and deal with. A tool like Spring Roo has the potential to eliminate a lot of the config nightmare that goes along with JEE development. However Roo seems kind of rigid on the web tier. Spring based tools are renowned for their flexibility/adaptability. The Spring Roo project needs to make that web tier more flexible to really have a fighting chance against Grails and Rails.

I have played around with Roo and I think it's pretty cool, but my concern is building something with Roo is having to integrate it into a current Spring project. There seems to be a fair amount fo code removal you have to do. It's as if all of the work that Roo saved gets wasted because you have to go back and retro fit Roo into what you have already built. It seems to me that if Roo wants to really make an impact they have to make the web tier as flexible as possible. This is where a majority of potential Roo developers will come from, and probably the tier that needs the most flexibility. Furthermore, developers should need to remove only a minimal amount of code to make it fit a current Spring project. Right now Spring Roo seems fine if you are starting from scratch, but if you have a current Spring project, integrating Roo may be more work than a developer may want. And most development is maintenance and maybe upgrades versus start from scratch development.
9 years ago
Spring Roo produces jsps or a variant of jsps I don't exactly remember which. Spring Roo basically uses Spring MVC to do web based work. You can use GWT and several other web based frameworks within Roo. But ultimately, Spring Roo allows you to write Spring based applications very quickly and relies heavily on AOP. If you've ever played around with Ruby/Rails, think of Spring Roo in a similar vein, where you use commands to write a lot of the boilerplate you would have to write by hand.
9 years ago
The JVM RAD/DSL arena seems a bit crowed these days with Scala, Groovy/Grails, and several other JVM specific languages, not to mention competitors such as Ruby/Rails and Python/Django. What is Spring Roo's place in this ecosystem? It seems that Groovy/Grails and Spring could potentially cannibalize each other, so what is Spring Roo's place in this ecosystem and how does Roo Team plan to help Spring Roo gain more traction? Also, what can Spring Roo do to get beyond the perception that it's good for prototyping, but not for production?
9 years ago
IMHO, I can't see it. Spring has always been the one to either integrate or innovate. JEE is trying to catch up. It's good that they finally got on board with DI, but DI alone is not Spring. I have used Spring since version 1.2.x and cannot see JEE being able to do everything Spring 3.x does let alone surpass it. At this point Spring is the champ and in order to beat the champ you gotta knock him out. I don't see JEE dealing a knock out blow to Spring. Not to mention you've got plenty of businesses who depend heavily on Spring. No one's going to rip out lines of working Spring code for JEE/DI.
9 years ago
Welcome Kirk,

I checked out your book on Amazon and sounds great. Now would you say your book is more beneficial for JEE apps, JSE apps, or both?

Thanks,

JW
Hello Budi,


What are some of the newer features of Java 7 you think should be most focused upon in your new book? Also what is a good follow-up book to the Beginner's Tutorial?


Thanks,

JW
10 years ago
Welcome Bud Kurniawan :-)
10 years ago
I was recently downloading a copy of JDK 5.0 update 15 when I saw a notice that JSE 5.0 is in it's End Of Life transition and will no longer be supported after 10/8/2009. With that in mind is there a plan for a certification of either JSE 6.0 or the newer 7.0? How will this impact people currently working towards JSE 5.0 certification?

Just Curious,

JW
BTW, thanks for the quick reply Paul.
15 years ago
I actually found a valuable piece of code on the Java Tips website (http://www.java-tips.org/index.php). The code uses StringTokenizer to split the string up and (similar to the split() method) and then uses a Stack to hold the reverse order. Here's the code:

import java.util.*;

public class StringReverseWord {

private static void doStringReverseWord() {

String a = "Rohit Khariwal Mohit Parnami";
Stack stack = new Stack();

// this statement will break the string into the words which are separated by space.
StringTokenizer tempStringTokenizer = new StringTokenizer(a);

// push all the words to the stack one by one
while (tempStringTokenizer.hasMoreTokens()) {
stack.push(tempStringTokenizer.nextElement());
}

System.out.println("\nOriginal string: " + a);

System.out.print("Reverse string: ");

// pop the words from the stack
while(!stack.empty()) {
System.out.print(stack.pop());
System.out.print(" ");
}

System.out.println("\n");
}
15 years ago
I need to know how to create the mirror image of string. For instance, if a string is originally "I want to display the mirror image", it should look like
"image mirror the display to want I". I tried looking through the past posts, but gave up after going through 5-6 pages. If someone has a way of doing this, I would appreciate it.


Thanks,

JW
15 years ago