Joel Ewest

Greenhorn
+ Follow
since Oct 19, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Joel Ewest

I have heard that using the Spring Framework helps you set up reusable unit testing and more specifically integration tests. What is it about Spring that makes configuring testing easier/better?

Thanks!
11 years ago
Mr. Allen,

I know the new Spring 2.5 and 3 don't work with Java 1.4. What about Seam?

Thanks!
Ah....I think I see how that works.

So if I return a reference to an object with a method I can then go ahead and use a method of the freshly returned object by using the dot operator. Does that makes sense?

Seems to me the code would be easier to read if they split it into multiple statements even if this does work. But I am a newbie so maybe I'll change my tune later.

Thanks for the answer!
17 years ago
I just finished a Java 101 class and am now attempting to use my new skills at work developing in Java(J2EE no less). I noticed in a lot of my companies code there are statements that look like this:

setAnObjectFactory(new AnObjectFactory(AnObject.getProperties().getString(servletName + ".BaseId")));

I am confused on how the two methods in the parm are connected. How does it work when you have "aObject.getSomething().getString()" ???

I didn't know you could connect to methods with the dot operator. How does this work?

Thanks!
17 years ago