Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Glenn Opdycke-Hansen

Ranch Hand
+ Follow
since Feb 16, 2001
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 Glenn Opdycke-Hansen

There is one option that can be used in Ant, antcall
It allows modification of a param property.
However, please use it caution and sparingly.

Below is taken from

http://ant.apache.org/manual/CoreTasks/antcall.html

Examples

<target name="default">
<antcall target="doSomethingElse">
<param name="param1" value="value"/>
</antcall>
</target>

<target name="doSomethingElse">
<echo message="param1=${param1}"/>
</target>


Will run the target 'doSomethingElse' and echo 'param1=value'.

<antcall ... >
<reference refid="path1" torefid="path2"/>
</antcall>
15 years ago
If you have ant installed, then read the
Ant in Anger
article that can be found at <ant-home>/docs/ant_in_anger.html

or on the ant.apache.org website at

http://ant.apache.org/ant_in_anger.html
15 years ago
For ide, look at antelope or jedit (see ant.apache.org for references).
Of course, there is Xemacs which has nice xml editing features.
16 years ago

Originally posted by Satchit Talla:
I would like to know what kind of practices other developers use for building different environments like, development, certification and production. Currently I adopt using different directories under config consisting of sub directories dev, cert and prod consisting of environment related config files. Is there any better approach that I can use. If possible, please include a sample.
Thanks


We have a similar sitation, deploying code for different systems/environments. The ant script packages and customizes the application in a dist subdirectory. It also records a log file which has information of the customization that was done. Finally, the dist directory and the log file are written to a zip file that has the environment name as part of the zip file name, "-dev-", "-local-", ...
16 years ago
To test if java has been installed, execute:
java -version
from a shell. what you may be missing is either the java home in the path or the java home env variable needs to be set. (probably both)
If I recall correctly, suse has a jdk that can be installed. Also, there might be a link in /usr/ that helps the system find the jdk.
-glenn
16 years ago

Originally posted by Jeroen Wenting:
who says you can't go overseas for healthcare?
Health insurance companies here have been doing it in emergencies and are starting to do it ever more as healthcare in this country is breaking down (less capacity, higher cost and higher demand).
It's coming to the point where it's cheaper to send someone from Amsterdam to Madrid for 2 weeks for surgery now than to have him/her on a waiting list for 2 years
...


According to mapquest Amsterdam to Madrid is 1800 km. That is approximately the distance from Dallas TX to the Mayo Clinic in Rochester MN. I am sure that somepeople are willing to make that trip if they prefer health care at Mayo.
However, traveling from the US to India would be out of the question for health care needs.
[ October 01, 2003: Message edited by: Glenn Opdycke-Hansen ]
16 years ago
I agree with the "install win* first, then linux" suggestion. However, I found that if you were going to install windows and linux on a single hard drive; install windows first, but let windows install on part of the disk. Then when installing linux, set it up to occupy the unused area on disk. This way you do not have to worry about the repartioning step.
16 years ago

Originally posted by Chris Mathews:

Java already has finalizers, what's wrong with them (besides the fact they I hardly ever see situations where they are needed)? I hope you are not suggesting that Java should allow explicit memory management...
BTW, why do you feel destructors help design?
[ April 11, 2003: Message edited by: Chris Mathews ]


finalizers are not immediate and predictable. Does anyone use them?
The designs permitted by destructors in c++ are the "resource acquisiton is initialization" that Bjarne Stroustrup writes about. The designs are compact, easy to understand, and solid.
For example, define a class as a LockHolder. The constructor acquires the lock; the destructor releases the lock. In Java there would have to be a method to release the lock. With destructors, the lock would be released when the block that constructed the object was exited.
Without dtors, the developer is requred to add one or more calls to the release function. Try/Catches tend to increase the required number of calls to release. Miss a call in the program and there is a problem. It may not be a memory leak, but just as bad.
With dtors and proper class design, the resulting code is cleaner and more robust.
17 years ago

Originally posted by John Coxey:
All:
- I think questuon could be parlayed into, "What featres of Java would you like to see implemented in a future release?"
Johnny


I would like to see destructors, not for memory management but because it allows better code designs.
17 years ago

Originally posted by Michelle Lee:
Can anybody please tell me if it is necessary to read J2EE specification for IBM 483 exam?
...
Is it necessary to read it for exam?
Thank you!


I see that it is listed in the ibm483 resources page:


2. Java 2 Enterprise Edition (J2EE) Specifications
Acquire a good working knowledge of the Java 2 Enterprise Edition (J2EE) specifications.


What would be helpful would be an suggestion of what to read in the spec.
I see that it contains good information on life-cycle, transactions, exceptions, and other topics that are listed in the objectives.

Originally posted by Sachin Kansal:
Hi! All,
Where can I find "IBM EJB Development with Visual Age for Java for WebSphere Application Server"?
bye.


The following link has the pdf download
visualage redbook link

Originally posted by Gerd Watmann:

...
The first one is about the distributable flag within the web.xml deployment descriptor. Is there a more detailed description when we can set this flag to distributable as in the servlet spec?


distributable is new with Servlet 2.2 api.
Below is from developer.java.sun.com

What's New in Java Servlet API 2.2?
By Jason Hunter; Reprinted from JavaWorld
October 1999

Distributed Applications
A few clarifications were also made in 2.2 with regards to distributed applications, in which application components can be spread across multiple back-end server machines.
The specification dictates that, for an application marked as distributable in its deployment descriptor, there will be a single ServletContext instance per JVM. This means the context attributes cannot be used to share global information. Global information in a distributed app needs to be stored externally from the Web server, as is the case in database or EJB component.

Hi Gerd,
I am planning to take 486 very soon and then prepare for 157. However, looking at the recent changes in jCert, it appears that 157 is not required for the Enterprise Developer Job role.
see jCert-Enterprise Dev
I see that 157 is still a req for Solution Developer.
Therefore, I may reconsider which test to study for next.
Update: I checked the ibm requirements and they have not changed to match jCert. Perhaps I will be preparing for 157. I passed the 486 exam today. I am glad that is over!
[ September 27, 2002: Message edited by: Glenn Opdycke-Hansen ]
For the WSAD beta the font for comments can be modified via
Window|Preferences
In the Preferences window, select
Java|Editor
There is a Syntax tab that allows the user to change the color/bold for comments.
This may be different for other versions of WSAD.
--glenn
17 years ago
Nice results, Nawab!
Do you have any words people that plan to take the exam?
How does it compare with the ICE practice exam?
Are there any areas that would be good to focus on?