Brian E Smith

Greenhorn
+ Follow
since Mar 29, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Brian E Smith

I added the DWR entries to my web.xml, in addition to the entries for my DispatcherServlet. In dwr.xml, I described the object (which I named DWRLogonValidator) that I wanted my JSP to use to validate the individual fields on the form. In the JSP, I added the .js includes that DWR generates. It "works" as I think it should, and this mean that the data has to pass my DWR validator before I actually submit the form to the controller. So I guess my DWR validator doesn't necessarily have to supercede or make obsolete my Spring validator; I suppose they could complement each other.

Regards,
Brian
I've only been playing with DWR for a couple of days, but what I like is how DWR allows you to send objects' data back and forth, which strikes me as very similar to using GWT-RPC to send objects between the client and server.

Regards,
Brian
Hi Frank,

I'm new to DWR, having used it for the first time just last week. I'm curious about what effect using DWR to validate a field on a form would have for a controller validator (Spring MVC). If I know that DWR has validated a field's value before being submitted, do you think there is still a need to use a validator class? I'm thinking if a form's values are validated by DWR before a form is submitted, there's no need for the validator.

Regards,
Brian Smith
How would you compare the book to the information in the PMBOK Guide?

Regards,
Brian
[ December 04, 2007: Message edited by: Brian E Smith ]
I still consider myself new to GWT, but I've been working on a project which uses GWT, and the GWT-RPC mechanism. I'm curious whether there's a way to lay Spring AOP on top of the service implementation methods. If the server-side objects are being created by the web container, is there a way to load them via Spring?

I've got three server side objects. They each have a method in common. At first, I created a super class, but still had no way for Spring to create the objects. So I created another class which implements the method, and in the constructor for the servlet class use Spring to create the service class, which I can now wrap with an aop:around method.

I hope my question makes sense.

Regards,
Brian
I'm curious about the extent to which GWT would be practical for use on PDA devices (CE.Net, WM/SmartPhone, etc). I was able to make the kitchen sink work by modifying gwt.js (everything but popups and menus [so far]), but I'm curious about practical guidelines for these devices.

Regards,
Brian E Smith
17 years ago
GWT
I scored 89% (53/59) this morning! Hooray!
My section scores:
Declarations/Access Control 62%
Flow Control/Exception Handling 100%
Garbage Collection 100%
Language Fundamentals 100%
Operators/Assignments 100%
Overloading, etc. 100%
Threads 100%
java.awt 50%
java.lang 100%
java.util 50%
java.io 100%
Whew. What a relief.
Many thanks to:
Java 2 Certification Study Guide (RHE)
Javaranch (without which I wouldn't have passed first shot: I wouldn't have found the links to the mocks, etc.) and the cows :-)
Marcus Green (I used mocks 1 and 2)
I also skimmed the Java 2 Passport, and the ExamCram books.
22 years ago
It seems to me that private methods are essentially hidden from any would-be inheritors, as if they never existed in the first place.
B.test couln't call super.test(), for example.
Regards,
Brian Smith,
SCJP in training (as well)
As I had mentioned a couply of weeks ago, I'm psyching myself up for the test, studying using the RHE Certification guide, etc. With Java 1.4 just out, I started wondering whether or when a certification will expire, or in other words, when the exam will cover the new stuff in 1.4 (nio, for example). I looked at the copyright date on my book, and it's 1999. So, in your opinion, am I learning obsolete information? Are there things that might be on the test (i.e., 1.3.x-specific things) that I'm not ready for?
Regards,
Brian
I don't just want to sqeak by, I want to do well; if the exam were a high fastball, I'd be interested in crushing it over the wall (although I'd be happy with the bloop over the shortstop's head [I'm so glad baseball season is here]). On Marcus' Mock 1, I scored 62%; I want to shore up the weaknesses that test exposed, then take Mock 2. (I don't want to re-take the mocks; I don't want to simply memorize the answers to the mock questions.) Like I said, on my budget I'd be hard pressed to take it more than once per month, I want to make sure I pass the first time. I hope that's not too unrealistic.
First off, thanks to the hosts of this site; it's been a great resource already.
My company's going to pay for the SCJP test that I pass. Being on a constrained budget, I want to make sure it's the first one I take.
I've gone through the first 13 chapters of the RHE study guide, and averaged 80% for all chapters (my score tends to drop at the later chapters , so I've been working on Threads, etc). I score between 80-90% on the Rules Roundup. I've got Marcus Green's mock 1 and 2. A few days ago I found a link of the "19 hardest questions" (or something like that) and scored 50% on that.
I write Java code by day, and have for the past year; however, the stuff I do at work is rather basic, I think.
Anyway, my goal is to pass this on the first shot. I bought my voucher today, and would like to schedule it within the next two weeks.
Can those of you who've gone before offer me any insight or advice? It would be much appreciated.
Regards,
Brian Smith