Ruediger Waurig

Greenhorn
+ Follow
since Jul 24, 2001
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 Ruediger Waurig

I've checked out the solution proposed by Manish and ...
it works perfectly for IE
but unfortunately not for Netscape Navigator
Has anybody an idea whether there is an equivalent of Manish's solution for Netscape?
Hi,
I'd like to create a <select> field. By default the length of this field is defined by the longest <option>. Is it possible to say to the <select> field:
OK, take the longest <option> but if it's longer than a given maximum then take this maximum as length of the select field.
(The length of the longest <option> is not known in advance because the options are retrieved in a JSP dynamically at runtime. Even though JSP is involved I think it's basically an HTML question)
If it's not possible to define a maximum length for a <select> field, is there a workaround to shrink the length of the <select> field?
Regards
Ruediger
Hi there,
I've got the following question:
Usually placing an image in a HTML file is done by
<img SRC="myPicture.jpg">
or
<OBJECT type="image/jpg" data="myPicture.jpg">
</OBJECT>
But this means that there is an external file that contains the image, in this case myPicture.jpg
I don't want to have an additional external file that is referenced from within the HTML file. How can I manage to have the image be included directly in the HTML file itself?
I.e. when sending an e-mail in html format then the pictures are included in the same html file.
Ruediger
Ashik,
so glad to here that you’re success story continues.
Congratulations.
I’m very interested in what will be your next “mission”.
I myself am on my way towards the IBM’s specialist for WebSphere 4.0.
Enjoy what you’ve reached
Ruediger
Hi,
For "Web Development with JSP" by "Mark Fields": Sorry, I haven�t read the book.
For VisualAge will be replaced by WebSphere Studio Application Developer:
My focus is to get confirmed my expertise on VisualAge. When the successor product is completely installed (including certification possiility) and I will have some experience with it, I will take this exam as well. But till then I will �only� be a IBM certified specialist for VisualAge, at least that�s what I plan.
Regards
Ruediger
Hi there,
for the free IBM testing:
Ashik, where have you found this information?
For the chapter �JSP Documents�:
You shouldn�t skip this chapter completely. In a first approach learn the contents of the table XML view transformations� in which JSP page elements are mapped to the corresponding XML view.
Regards
Ruediger
Hi Sonia,
here�s my answer to your question about the IBM certifications.
To pass IBM exams for VAJ and WebSphere will confirm the expertise I have on these products.
My next step is therefore to become an �IBM Certified Specialist - IBM VisualAge for Java, Professional Edition, V4.0�.
=> To do so, the following test has to be passed: IBM VisualAge for Java, Professional Edition V4.0 (Test # 283)
The next aim is to become an �IBM Certified Solution Developer �
IBM VisualAge for Java, Professional Edition, V4.0�.
=> To do so, the folowing 3 tests have to be passed:
1)Sun Cetified Programmer for the Java 2 Platform (Test # 155, if you�re already a SCJP2, it�s accepted by IBM as equivalent)
2)Object-Oriented Analysis and Design with UML (Test #486)
3)IBM VisualAge for Java, Professional Edition V4.0 (Test #283)
Because by then I will have already passed 1) and 3) I only need to clear 2) to reach this aim.
The next goal is to become an �IBM Certified Enterprise Developer �
IBM WebSphere Application Server, Advanced Single Server Edition for Multiplatforms, V4.0�
=> To do so, the following 2 tests have to be passed:
1)Enterprise Connectivity (with Java 2 Enterprise Edition) (Test # 483)
2)IBM WebSphere Application Server, Advanced Single Server Edition for Multiplatforms, V4.0 (Test # 488)
That�s what I can see now, but who knows what will happen �
For more information on IBM�s certifications check out http://www-1.ibm.com/certify/index.shtml, and there escpecially the link �Index by Brand Category�
Ruediger
Thanks to all of you for the congratulations and I wish you all the best on your ways through the jungles of Java.
I probably gonna try next the IBM's certification to get an IBM certified specialist for VisualAge for Java.
CU
Ruediger
Hi there,
I took advantage of the hints I've found here when I prepared for the exam so I'd like to write down what I think is important.
Here we go:
To prepare for the exam I used:
- The core WEB programming book (authors: Marty Hall, Larry Brown) to get explained what�s important and how things work together
- The Servlet 2.3 specification
- The Servlet 2.3 API description
- The JSP 1.2 specification
- The JSP 1.2 API description

To clearify some problems it was good to have found someone that wanted to pass the exam with me. We discussed a lot and that helped a lot.

The real push for the exam gave me SCWCDWhiz. Don�t miss that.

Here are some detail points you should keep in mind when preparing:

Learn the structure of the deployment descriptor and of the taglib descriptor file by heart.

Don�t worry about design patterns. Just figure out which one of MVC, Business Object, Data Acess Object, and Value Object it migth be and forget about all the other options that could be chosen.

Get a deeper understanding how the different possibilities in Servlets and JSPs work together and what�s equivalent.
Example for how things work together: A bean object defined in a servlet and assigned to an attribute in the servlet�s context can be referenced in a JSP page; the id in jsp:useBean action must then be the name of the attribute defined in the servlet.
Example for equivalence: Assuming the bean �myCar� not yet existing the following holds: <jsp:useBean id=�myCar� class=�myPackage.Car�/> is equivalent to <% myPackage.Car myCar = new myPackage.Car(); %>

Get a clear understanding how JSP actions, scripting elements, and directives are or could be realized in the servlet code that is generated from a JSP page. Work out what could be expressed by JSP standard actions and what can't.

Repeat what you�ve leard about threads when preparing for the SCJP2. That will help a lot for the questions of the threadsafe ojective.

Go through the methods listed in the Servlet and JSP APIs, try to understand them and how they can work together. I myself used intensely the index link in the Servlet and JSP APIs to figure out where to find methods in different types with the same name and analogous meaning or with the same name but different or slightly different meaning. I.e.The method �log� can be found in ServletContext and in GenericServlet, but in GenericServlet this method additionally adds the servlet�s name to the string being written to the log file.


Hope this helps
Ruediger
Hi Ashik,
here some hints and questions:
(1)
Do some UML modeling, starting with Usecases.
(2)
To have more flexibility use RMI or even better realize a Web browser based solution using Servlets and JSP pages.
(3)
What does mean it has to be delivered in one month? Does it mean that you will work fulltime on the job for one month?
(4)
What should be the quality of the result? Should it be just a quick and dirty solution for training purposes or will someone regularly work with the software?
(5)
Should the creation of the database and of database elements also be possible through the software to be developed?
CU
R�diger
22 years ago
Hi Ashik,
best wishes to your success, you deserve it. All the best for the future.
Ruediger
P.S.: Once upon a time you asked me about strictfp. I hope the following is the right answer to your question (even though I haven't had a beer with Jane, as you advised):
a) a new keyword in Java 2 => RIGHT
b) only usable with class as a modifier => WRONG (also usable with methods)
c) counts accurate floating point values instead of the slight inaccuracies in general floats or doubles => WRONG (strictfp means exactly the contrary, that is: don't use the extended --and therefore more accurate-- float representation)
d) usable with variables as a modifier => WRONG (only usable with classes and methods)
22 years ago
Congrats Antti!
I passed the exam on 2001-07-31 and received the certification on 2001-08-08.
Wish you all the best for the future,
Ruediger
22 years ago
Hi there,
yesterday I passed the exam for the SCJP2.
I'd like to thank the javaranch people for their support, especially Desai Sandeep, Cindy Glass, Scott Appleton, Jon Miller who answered directly to my topics.
For preparation I used JWhiz and JCertify. In JWhiz' Final test I made over 90 percent and the result of the real exam was very close to this. My advice for preparing the SCJP2 exam is therefore as follows:
(1)
Do the JWhiz Practice tests and generalize the subject of each question. I.e. if there is a question about the meaning of 'new TextField(10)', check out all the constructors of the class TextField and ask yourself what could be questions of the same type (i.e. Constructors for Button, Canvas, Checkbox, Choice, Label, List, and Scrollbar). Or if there is a question about which of the following is a correct chaining of io objects, just work out what in io can be chained and why.
(2)
If somethings unclear to you, just do a little programming to check it out. That helps a lot.

If you do so, then you'll get better each time you do one more of the nine JWhiz Practice Tests and in the real exam you'll be as successful as in the JWhiz' Final test.

Regards
Ruediger
22 years ago
Hi Rajani,
to be equal, the two variables have to be of the same class.
Check out the JDK 1.2 documentation:
equals
public boolean equals(Object obj)
Compares this object against the specified object. The result is true if and only if the argument is not null and is a Long object that contains the same long value as this object.
Overrides:
equals in class Object
Parameters:
obj - the object to compare with.
Returns:
true if the objects are the same; false otherwise.
Regards
Ruediger
Hi there,
in preparation for the SCJP2 I'm using JCertify and JWhiz.
In JWhiz I can maximize the Exibit popup to fullscreen
whereas in JCertify the size of the Exibit popup can't be changed.
Can anyone tell me whether JWhiz or JCertify is right (compared to the real exam situation)
Thanks in advance
Ruediger