| short-circuit operators - part of the spec? |
|
 |
Index ‹ java-programmer
|
- Previous
- 1
- Java EE 5 Deployment ToolIs there a deployment tool included with Java EE 5? The previous version had
one in the bin directory of the installation directory. From what I
understand it was pretty helpfull. It's hard to believe it would be
eliminated in an upgrade. Does anyone know how to access it?
--
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-tools/200608/1
- 3
- Servelets or Applets, or ...Hi,
I am relatively new to JAVA but I am trying to build contact management
system which would allow users to create their list of contacts. The contact
data would be in database and security is important issue. I was initially
thinking of using servlets/jsp but than it occurred to me that there might
be other technologies in JAVA which could be better suited to what I need to
accomplish.
The application should allow user to search based on different criteria,
should also provide interface for inputting new contacts. Also it should
allow some level of sharing data in cases it is used on a company level
where many users have common contacts.
If you have a good idea of what technology would work best for my
application please email me justifying your suggestion so that I can
understand where you are coming from.
Any replies would be appreciated.
Thanks,
Don
--
High achievement always takes place in the framework of high expectation.
- Charles F. Kettering
- 6
- cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com )cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
cheap, shox,sneakers ( paypal accept ) ( www.world-wholesaler.com
)
- 6
- Chart bar 3DHi,
I'm using JFreeChart with very good results but yet have the problem to
generate charts 3d bar where I can set the value of the three axis values
for the visualization.
Can any help me or tell where can I find a freeware library or applet.
Thank you in advance
Markus
- 6
- Internet web app - sending .PDF or .PS output direct to user printerI have a real brain-teaser here (it may not even be possible). We have
a web app, it will run across the INTERnet (not intra). The app will
generate reports. Currently what we do is:
1. generate the report (over on the server, obviously) as a .pdf file
2. once done, we forward the user to the URL of the .PDF file
3. Since IE knows what to do with filetype .PDF, he kicks off Adobe
Reader and loads the .PDF in the new window.
For non-technology-related reasons, we can't do it this way (the user
must not be allowed to print the output more than once, and of course
once we dump them into Adobe Reader they can hit the Print button all
day, no way for us to stop them).
So we need to figure out how to take this output (we're generating it
with FOP) and dump it out to the user's printer (in other words, we
don't display the file, thereby allowing them to print multiple times;
we simply print it). I'm thinking with the code and the output file
over on the app server, there really isn't a way for me to direct this
output to the printer of a user who is running our app through IE. Or
am I wrong? If I'm right, can anyone think of another way to achieve
this result? Thanks as always.
- 7
- ArrayList vs VectorI remember reading a while back about the hazards of using Vector for a
dynamic array. However, in the latest javadocs, I've been reading that
Vector has been "retrofitted" for the Collections and is also synchronized.
Does Vector still have a bad rap? Should I be looking at the ArrayList
instead all the time and ditch Vector? When is a good time to use one over
the other? What are your design questions/decisions? As far as I can tell,
they are pretty much equal, but I'm just learning, so I'm asking what you
people think. Thanks.
- 7
- JAR files and manifest: Class-PathHi!
I have a base dir, where the application JAR file resides. In this base
dir, there's also a lib dir, nothing special really. In this lib dir are
some user look and feel JAR files, which are supposed to be loaded when
the application is started via the JAR file.
Is there any way to use the Class-Path entry in the manifest, so that it
scans that ./lib directory and loads all the JARs in there, *without
knowing up-front, what these files are*?
I tried
Class-Path: ./lib
Class-Path: ./lib/
Class-Path: ./lib/*
Class-Path: ./lib/*.jar
but none of them work.
Maybe there's some other way, which I don't know of. I simply don't want
to explicitly deploy the JAR's (versions, size etc.).
Anyway, how do I do it?
Karsten
- 7
- How to obtain the right 256 color pallette for the blend of two colors...?Hi all,
I have the following problem: I need to generate dynamically an image with
IndexColorModel (256 color PNG) of a text over a solid color. The parameters
are color foreground for the text and background. The problem is how to
select the most appropriate 256 color pallette for the text to look best. I
mean the text should be antialiased and any other hint applied. For example,
If I pick black on yellow image I think it should have all the tones of
black and yellow. Any red color will be useless and it will be lost space on
the reduced 256 color pallette. But in this example the red could be a good
choice for the transparent color...
How to solve this problem?
I guess I need some background on colors (theory of colors?) Any hint is
welcomed.
Thanks in advance
Sammy
- 8
- 8
- Changing contents of signed Jar ?Hi,
If I want to unzip a signed jar and zip it backup after tweaking a file
or two do I have to sign it again ? I'm not sure if the signing process
uses the contents of the jar or not !
Thanks
Steve
- 11
- [OT] Outsourcing: Real Or Bullshit ?
Do you think all this /outsourcing/ stuff is a bunch of *management*
bullshit to keep salaries down ( and increase their salaries at the
expense of the staff )?
I see demand being really high this year and in the next few.
It's kind of like that bullshit Boeing pulled saying they were going to
build the 7E7 elsewhere and making up a phoney bid process and then
getting Washington to concede all this money and then picking Everett.
--
W '04 <:> Open Source
- 14
- File CreationHi all
I am now doing a webapplication involving servlets.i want to creat
a dynamic view of an image.the image generated will be of type
BufferedImage and i want to write it into a file.i have created the
file using File class and CreateNewFile()method.but the file is not
created on that location.can anyone tell me why is this so? also tell
me whether wait() method will help to suspend a servlet for sometime?
Thanks in Advance
Regards
Anu
- 14
- RMI Objects HelpHi,
I'm having a little problem with compiling the RMI Stub. Getting the
following error. Have attached all relevant source code below. Hope
someone can help!
Thanks,
Rajat
ERROR
======
D:\Projects\TreeServer\TreeServer_Stub.java:6: class
TreeServer.TreeServer_Stub must be declared abstract. It does not
define java.lang.Object getChild(char, TreeServer.Nodes, short,
java.lang.String) from interface TreeInterface.TreeInterface.
public final class TreeServer_Stub
===========
TreeServer.java
===========
package TreeServer;
import java.rmi.Naming;
import java.rmi.RMISecurityManager;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import TreeInterface.*;
public class TreeServer extends UnicastRemoteObject implements
TreeInterface {
static final long serialVersionUID = 10000;
NodeManagement nm = new NodeManagement();
public static void main(String[] args) {
try {
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
}
TreeServer q = new TreeServer();
Naming.rebind("rmi://localhost/TreeService", q); // sets the
// handle
System.out.println("Start Main RMI Server");
} catch (RemoteException er) {
System.out.println("Exception in Main RMI Server: " + er);
} catch (Exception err) {
System.out.println("Exception occurred: " + err);
}
}
public TreeServer() throws RemoteException {
// do the init here.
super();
}
public Nodes getChild(char c, Nodes nod, short difficulty, String
dictionary)
throws RemoteException {
return nm.getChild(c, nod, difficulty, dictionary);
}
}
=============
Nodes.java
=============
package TreeServer;
public class Nodes{
public char letter;
public int first_Child_offset = 1000;
public boolean isTerminal = true;
public boolean isLastSibling = true;
public int NodeNo;
public Nodes() {
}
public Nodes(int NodeNo, char letter, boolean isTerminal,
int first_Child_offset, boolean isLastSibling) {
this.NodeNo = NodeNo;
this.letter = letter;
this.isLastSibling = isLastSibling;
this.first_Child_offset = first_Child_offset;
this.isLastSibling = isLastSibling;
this.isTerminal = isTerminal;
}
}
=================
NodeManagement.java
=================
package TreeServer;
import java.io.*;
import java.util.*;
public class NodeManagement {
public NodeManagement() {
}
public Nodes getChild(char c, Nodes nod, short difficulty, String
dictionary) {
/// this returns a node object. code is just too big to paste here.
}
}
=============
TreeInterface.java
=============
package TreeInterface;
import java.rmi.*;
import TreeServer.*;
public interface TreeInterface extends java.rmi.Remote {
public Nodes getChild(char c, Nodes nod, short difficulty, String
dictionary)
throws RemoteException;
}
============
TreeClient.java
============
package TreeClient;
import java.rmi.*;
import TreeInterface.*;
import TreeServer.Nodes;
public class TreeClient {
TreeInterface rq;
public TreeClient() {
try {
rq = (TreeInterface) Naming.lookup("rmi://localhost/TreeService");
} catch (Exception e) {
e.printStackTrace();
}
}
public Nodes getChild(char c, Nodes nod, short difficulty, String
dictionary) {
try {
return rq.getChild(c, nod, difficulty, dictionary);
} catch (Exception e) {
return (new Nodes());
}
}
}
- 15
- Eclipse, Motif or x86/GTK2 FOR MANDRAKE 9.. Installation problemI have Mandrake 9.0 and I downloaded Motif version of eclipse,
but after I unziped, set the PATH and started:
Eclipse -data /home/mario/Documents/eclipse/
I got a message that startup.jar is not in the same directory
as its executable.
What can be wrong?
What version, Motif or GTK 2 I need for Mandrake 9.0
--
dk
- 16
- Using JNI in a ServletDoes anyone have experience with using JNI in a servlet under Windows
XP? When trying to do this, it continually fails to load the C
library.
It works when done in a normal Java program, but not when it's a
servlet.
I've seen that others have used JNI in Servlets and had this problem
with Windows, but no explanation on how to work around the problem.
I also have problems running javah. It's not required, but it does
work
as a precursor; if javah doesn't work, the library won't load either.
Here's a quick rundown of the setup and errors. I'ms using Java 1.5
with the Sun App Server on a Windows XP SP2 system, compiling the C
code
with gcc v3.3.3. CLASSPATH is set to inculde all directories the files
and libs reside.
When running the servlet, the following errors show up in the App
Server
log file:
Logger: javax.enterprise.system.stream.err
Name-Value Pairs: _ThreadID=29;
Message ID: Link error
Complete Message java.lang.UnsatisfiedLinkError: no jni_if in
java.library.path
Logger: javax.enterprise.system.stream.err
Name-Value Pairs: _ThreadID=12;
Message ID:
Complete Message Exception in thread "Thread-79"
Logger: javax.enterprise.system.stream.err
Name-Value Pairs: _ThreadID=30;
Message ID: java.lang.UnsatisfiedLinkError
Complete Message getXppParm
at xpserv.XppIf.getXppParm(Native Method)
at xpserv.XppIf.run(XppIf.java:61)
Running javah gets the following error:
bash-2.05b$ javah -jni XppIf
error: cannot access XppIf
bad class file: C:\BioSpring\xpserv\XppIf.class
class file contains wrong class: xpserv.XppIf
Please remove or make sure it appears in the correct subdirectory
of the classpath.
com.sun.tools.javac.util.Abort
:
Running javah with the package name included in the name still fails:
bash-2.05b$ javah -jni xpserv.XppIf
error: cannot access xpserv.XppIf
file xpserv\XppIf.class not found
javadoc: error - Class xpserv.XppIf not found.
Error: No classes were specified on the command line. Try -help.
If anybody has had any success in using JNI with a servlet, I would to
hear how they configured it to work.
|
| Author |
Message |
Phil...

|
Posted: 2003-10-23 0:05:00 |
Top |
java-programmer, short-circuit operators - part of the spec?
My book says the following about && and ||
(see below dashed line.) And I wonder if this
is built into the language or an artifact of the
compiler. Previously (in my youth) we were
taught that depending on the compiler to skip
evaluating stuff was dangerous and bad for
maintenance.
----------------------------
known as the short-circuit logical operators:
&& short-circuit AND
|| short-circuit OR
The short-circuit feature of the && operator is that it doesn't waste its
time on
pointless evaluations. A short-circuit && evaluates the left side of the
operation first
(operand one), and if operand one resolves to false, the && operator doesn't
bother
looking at the right side of the equation (operand two). The operator
already knows
that the complete expression can't possibly be true, since one operand has
already
proven to be false.
|
| |
|
| |
 |
Phil...

|
Posted: 2003-10-23 0:10:00 |
Top |
java-programmer >> short-circuit operators - part of the spec?
My book says the following about && and ||
(see below dashed line.) And I wonder if this
is built into the language or an artifact of the
compiler. Previously (in my youth) we were
taught that depending on the compiler to skip
evaluating stuff was dangerous and bad for
maintenance.
----------------------------
known as the short-circuit logical operators:
&& short-circuit AND
|| short-circuit OR
The short-circuit feature of the && operator is that it doesn't waste its
time on
pointless evaluations. A short-circuit && evaluates the left side of the
operation first
(operand one), and if operand one resolves to false, the && operator doesn't
bother
looking at the right side of the equation (operand two). The operator
already knows
that the complete expression can't possibly be true, since one operand has
already
proven to be false.
|
| |
|
| |
 |
nobody

|
Posted: 2003-10-23 0:10:00 |
Top |
java-programmer >> short-circuit operators - part of the spec?
"Phil..." <email***@***.com> writes:
> My book says the following about && and ||
> (see below dashed line.) And I wonder if this
> is built into the language or an artifact of the
> compiler.
http://java.sun.com/docs/books/jls/
/Thomas
|
| |
|
| |
 |
Michael Borgwardt

|
Posted: 2003-10-23 0:19:00 |
Top |
java-programmer >> short-circuit operators - part of the spec?
Phil... wrote:
> My book says the following about && and ||
> (see below dashed line.) And I wonder if this
> is built into the language or an artifact of the
> compiler. Previously (in my youth) we were
> taught that depending on the compiler to skip
> evaluating stuff was dangerous and bad for
> maintenance.
It's part of the language specification, and there are alternative non-short-circuit
operators (& and |).
BTW, the Java Language Specification is freely available and relatively easy to read:
http://java.sun.com/docs/books/jls/second_edition/html/j.title.doc.html
|
| |
|
| |
 |
David Zimmerman

|
Posted: 2003-10-23 0:25:00 |
Top |
java-programmer >> short-circuit operators - part of the spec?
Phil... wrote:
> My book says the following about && and ||
> (see below dashed line.) And I wonder if this
> is built into the language or an artifact of the
> compiler. Previously (in my youth) we were
> taught that depending on the compiler to skip
> evaluating stuff was dangerous and bad for
> maintenance.
> ----------------------------
> known as the short-circuit logical operators:
> && short-circuit AND
> || short-circuit OR
> The short-circuit feature of the && operator is that it doesn't waste its
> time on
> pointless evaluations. A short-circuit && evaluates the left side of the
> operation first
> (operand one), and if operand one resolves to false, the && operator doesn't
> bother
> looking at the right side of the equation (operand two). The operator
> already knows
> that the complete expression can't possibly be true, since one operand has
> already
> proven to be false.
>
>
Absolutely part of the spec. That's why you can depend on them. Also
part of the spec, hence dependable, is the left to right order of
evaluation so you can have constructs like
if (ref != null && ref.equals(other))
doStuff
With C compilers, you have no such specification, hence no ushc dependablity
|
| |
|
| |
 |
Thomas G. Marshall

|
Posted: 2003-10-23 0:41:00 |
Top |
java-programmer >> short-circuit operators - part of the spec?
Michael Borgwardt <email***@***.com> coughed up the following:
> Phil... wrote:
>> My book says the following about && and ||
>> (see below dashed line.) And I wonder if this
>> is built into the language or an artifact of the
>> compiler. Previously (in my youth) we were
>> taught that depending on the compiler to skip
>> evaluating stuff was dangerous and bad for
>> maintenance.
>
> It's part of the language specification, and there are alternative
> non-short-circuit operators (& and |).
>
> BTW, the Java Language Specification is freely available and
> relatively easy to read:
> http://java.sun.com/docs/books/jls/second_edition/html/j.title.doc.html
Freely available yes. Easy to read, no.
|
| |
|
| |
 |
Thomas G. Marshall

|
Posted: 2003-10-23 0:44:00 |
Top |
java-programmer >> short-circuit operators - part of the spec?
Phil... <email***@***.com> coughed up the following:
> My book says the following about && and ||
> (see below dashed line.) And I wonder if this
> is built into the language or an artifact of the
> compiler. Previously (in my youth) we were
> taught that depending on the compiler to skip
> evaluating stuff was dangerous and bad for
> maintenance.
Depends upon the language, and no, there is nothing wrong with it when it is
specifically allowed.
In your youth, if you used C or C++, you have the same "short circuit"
evaluation leap that you have in java.
What /is/ a bad idea, which is probably what you're confusing this with, is
to rely upon a feature that happens to be present in a compiler but isn't
specified in the language spec. That /is/ dangerous.
|
| |
|
| |
 |
Thomas G. Marshall

|
Posted: 2003-10-23 0:47:00 |
Top |
java-programmer >> short-circuit operators - part of the spec?
David Zimmerman <email***@***.com> coughed up the following:
> Phil... wrote:
>
>> My book says the following about && and ||
>> (see below dashed line.) And I wonder if this
>> is built into the language or an artifact of the
>> compiler. Previously (in my youth) we were
>> taught that depending on the compiler to skip
>> evaluating stuff was dangerous and bad for
>> maintenance.
>> ----------------------------
>> known as the short-circuit logical operators:
>> && short-circuit AND
>>>> short-circuit OR
>> The short-circuit feature of the && operator is that it doesn't
>> waste its time on
>> pointless evaluations. A short-circuit && evaluates the left side of
>> the operation first
>> (operand one), and if operand one resolves to false, the && operator
>> doesn't bother
>> looking at the right side of the equation (operand two). The operator
>> already knows
>> that the complete expression can't possibly be true, since one
>> operand has already
>> proven to be false.
>>
>>
>
> Absolutely part of the spec. That's why you can depend on them. Also
> part of the spec, hence dependable, is the left to right order of
> evaluation so you can have constructs like
>
> if (ref != null && ref.equals(other))
> doStuff
>
> With C compilers, you have no such specification...
I disagree. The "spec" that you are talking about /does/ exist, and is
guided (in the last decade or so) by ANSI. And it /does/ specify that
if ((ptr != 0) && (*ptr == 5)) {...}
is aborted midway if ptr is 0.
|
| |
|
| |
 |
Jon Skeet

|
Posted: 2003-10-23 1:39:00 |
Top |
java-programmer >> short-circuit operators - part of the spec?
Thomas G. Marshall
<email***@***.com> wrote:
> > BTW, the Java Language Specification is freely available and
> > relatively easy to read:
> > http://java.sun.com/docs/books/jls/second_edition/html/j.title.doc.html
>
> Freely available yes. Easy to read, no.
Significantly easier than most specifications that I've seen though,
I'd say.
In this particular case I can't see how it could have been much easier:
From table of contents, look for && and follow the first link (section
15.23). From there, the first sentence is:
<quote>
The && operator is like & (?5.22.2), but evaluates its right-hand
operand only if the value of its left-hand operand is true.
</quote>
Very simple
--
Jon Skeet - <email***@***.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
|
| |
|
| |
 |
Thomas G. Marshall

|
Posted: 2003-10-23 5:57:00 |
Top |
java-programmer >> short-circuit operators - part of the spec?
Jon Skeet <email***@***.com> coughed up the following:
...[tear]...
> In this particular case I can't see how it could have been much
> easier:
>
> From table of contents, look for && and follow the first link (section
> 15.23). From there, the first sentence is:
>
> <quote>
> The && operator is like & (?5.22.2), but evaluates its right-hand
> operand only if the value of its left-hand operand is true.
> </quote>
>
> Very simple
Oh in this case I certainly agree. But the JLS is filled with hard to read
mumble, IMHO, and that has nothing to do with whether or not /other/
specifications are also hard to read (they are).
And there might not be any other way to write it. Language specs are, after
all, /meant/ to be hairy I think.
But take for example this bit of gobledgook in 15.25 (the "?" operator):
---------------[START]-------------
The type of a conditional expression is determined as follows:
a.. If the second and third operands have the same type (which may be the
null type), then that is the type of the conditional expression.
b.. Otherwise, if the second and third operands have numeric type, then
there are several cases:
a.. If one of the operands is of type byte and the other is of type
short, then the type of the conditional expression is short.
b.. If one of the operands is of type T where T is byte, short, or char,
and the other operand is a constant expression of type int whose value is
representable in type T, then the type of the conditional expression is T.
c.. Otherwise, binary numeric promotion (?.6.2) is applied to the
operand types, and the type of the conditional expression is the promoted
type of the second and third operands. Note that binary numeric promotion
performs value set conversion (?.1.8).
c.. If one of the second and third operands is of the null type and the
type of the other is a reference type, then the type of the conditional
expression is that reference type.
d.. If the second and third operands are of different reference types,
then it must be possible to convert one of the types to the other type (call
this latter type T) by assignment conversion (?.2); the type of the
conditional expression is T. It is a compile-time error if neither type is
assignment compatible with the other type.
---------------[END]-------------
I read that and want to respond with "eughhhh".
And then, recently, I bumped into this hoo haa in 5.1.3 (Narrowing Primitive
Conversions):
---------------[START]-------------
A narrowing conversion of a floating-point number to an integral type T
takes two steps:
1.. In the first step, the floating-point number is converted either to a
long, if T is long, or to an int, if T is byte, short, char, or int, as
follows:
a.. If the floating-point number is NaN (?.2.3), the result of the
first step of the conversion is an int or long 0.
b.. Otherwise, if the floating-point number is not an infinity, the
floating-point value is rounded to an integer value V, rounding toward zero
using IEEE 754 round-toward-zero mode (?.2.3). Then there are two cases:
a.. If T is long, and this integer value can be represented as a long,
then the result of the first step is the long value V.
b.. Otherwise, if this integer value can be represented as an int,
then the result of the first step is the int value V.
c.. Otherwise, one of the following two cases must be true:
a.. The value must be too small (a negative value of large magnitude
or negative infinity), and the result of the first step is the smallest
representable value of type int or long.
b.. The value must be too large (a positive value of large magnitude
or positive infinity), and the result of the first step is the largest
representable value of type int or long.
2.. In the second step:
a.. If T is int or long, the result of the conversion is the result of
the first step.
b.. If T is byte, char, or short, the result of the conversion is the
result of a narrowing conversion to type T (?.1.3) of the result of the
first step.
---------------[END]-------------
|
| |
|
| |
 |
Joona I Palaste

|
Posted: 2003-10-24 4:42:00 |
Top |
java-programmer >> short-circuit operators - part of the spec?
Roedy Green <email***@***.com> scribbled the following:
> On Wed, 22 Oct 2003 16:05:01 GMT, "Phil..." <email***@***.com> wrote or
> quoted :
>>My book says the following about && and ||
>>(see below dashed line.)
> What does it have to say about the ? : operator? Are you guaranteed
> only one of the true/false expressions will be evaluated?
AFAIK that is indeed guaranteed. Also the condition is guaranteed to
execute before either the true or the false expression.
--
/-- Joona Palaste (email***@***.com) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"The truth is out there, man! Way out there!"
- Professor Ashfield
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- Building an Exception LayerI am trying to build an Exception Layer for a new system. The exceptions I
want to catch are :
* system/configuration failures e.g., Hibernate configuration file missing
etc. (StructureException)
* system access voilation e.g. wrong user id etc. (PermissionException)
* business rules voilation (BusinessRulesException)
* data access voilation (DAOException)
My question is should these above Exception sub-classes be inherited from
Exception or RuntimeException? Please explain why?
In this system I am planning to use Hibernate and Struts. StructureException
will be used in Hibernate and Struts initialization. I was thinking about
creating 2 classes HibernateStructureException and StrutsStructureException
inherited from StructureException and using them in respective code. What do
you guys think?
Thanks
Thanks
- 2
- Open Document Format / Rich Text Format Editor in Javahi all,
I'm looking for a java class or a set of java classes with which I can
display ( and edit ) a ODF-Document (or a RTF-Document).
One requirement is that it is possible to display different fonts,
text size, text color, text-decoration, images, tables with or without
borders/colors , links, background color, indent, numbering, bullets
etc.
I know about the RTFEditorKit and the HTMLEditorKit from the swing
packages ...and of their limitations.
As my application will use SWT (&RCP), I'm looking for a "better"
alternative. Does anyone of you know which classes could be of
interest for me?
Thanx for your help
Dominik
- 3
- houghtransformationHello,
I'm looking for sourcecode for a houghtransformation (the one for line
detection). Has anyone somethign like that?
regards, Johannes Elsinghorst
- 4
- Can I deploy Crystal XI Java Report Component on Linux ?Hi,
We are developing J2EE application and plan to deploy it on Oracle Apps
Server on Linux, we use Crystal Report XI as report tools.
We use Java Report Component for integration to jsp page.
The question is : can we deploy Crystal Report XI into Apps Server on
Linux ?
Thank you for your help,
xtanto
- 5
- Executable Jars - why are they so rigid with classpaths ?If someone gives me a jar file with a Main in it and some supporting
library jar files, the Manifest.mf will contain information on what
the Main class is and also the location of supporting library jars
RELATIVE to the application jar file. But once I get the jar, I want
to move the supporting jar files to some other convenient directory.
But If I do that, the application jar file will not be able to locate
the supporting classes since the Manifest file has the supporting jar
paths pretty much HARDCODED ! How do I override the hardcode and give
it a different search path so that it can start looking at the new
directory ? This rigidity makes it so painful during times of
distribution. Please help.
- 6
- Filling a bitmap image with java 1.3.1I need to fill parts of a bitmap, representing European country's
electional cantons, with different colors, one per canton. I would
like to know what would be the best way to do it on a pure java awt
environment.
Thanks a lot.
- 7
- Need help calling java classesHi. I am a beginner in java so i may sound like a total prat here,
but here goes:
I have been given my university coursework to do. I have to make a
program whereby a customer ordering boxes is asked what attributes of
a box he/she wants from list we have been given, then work out a price
for the box. Anyhow, we have six box types, so a class for each, an
Input class for reading input from the keyboard and a main class.
now, obviously the program starts in main, but i need to go to the
Input class as soon as the program starts, so i can put in some info
from the keyboard, but my tutor says that we have to separate the main
and input classes(whereas i can see it being easier to shove it all in
the main class), so i need to know this: How do you call one class
from another in java? I know how to call methods in one class:
methodname();, but i need to access the input class from the main
class. Is this possible or am i barking up the wrong tree? Help is
much appreciated.
Thanks
----------
Stuart
- 8
- Eclipse with iSeries (AS/400) plugini would like to use ( standard) Eclipse with connect to iSeries
(AS/400) server,
i know that this plugin is in eclipse which is in websphere studio
development package for iSeries, but i dont want instaled this
version,
know anybody if its possible somewhere download this plugin
thankx
// david
- 9
- How to determine subclasses of a classHello,
I have a situation where all classes that implement a certain
interface are candidates to have a specific annotation. Now I want to
obtain all classes that implement that interface and select those that
have the anotation of interest. Question is how this can be done.
There seems to be no way you can ask a class for its subclasses (as
f.e. in Smalltalk), which would make things realy easy. Any ideas how
this can be solved? Do I have to write my own class loader? Hopefully
not ...
Thanks for any hints.
Cheers, Oliver
- 10
- JBoss,integrated Tomcat,Mysqltsstsc wrote:
> I am new to J2ee, and have difficulty deploying them to JBOSS, can
> anyone help?
>
> --
> Posted via http://dbforums.com
I'm started programming in J2EE for several months ago now.
I'm using Eclipse (eclipse.org) as IDE.
There's a plugin available for free that helps you starting a J2EE
project. You can find the plugin at
http://sourceforge.net/projects/lomboz. You can deploy your project to
several aplication servers including JBOSS/Tomcat.
That's the way I started after a bit of reading.
Good luck,
Marcel
- 11
- Windows install locations J2SE and TomcatI'm installing J2SE, J2EE and Tomcat (and other Servlet Containers )
I hope I don't run into any conflicts because I notice J2EE comes with
the AppServer, and I'll also want to use Tomcat and possibly even try
WebSphere.
I'm wary of the standard location, with a space in the path
....\Program Files\....
and I can only forsee trouble from this. Any comments or suggestions
?
I already have it installed there, and I think it would be easy to move
( I don't even have JAVAHOME set yet )
Would I need to use uninstall or can I just move the whole dir
structure, below
jdk1.5.0_06 and then set up my path, env var's etc. ??
I don't have any other pressing ? at this point, but I'll be exploring
Tomcat too.
I know using it as a standalone ( on port 8080 ) is a breeze, but I'm
also curious if I can get the connectors to work, in conjunction with
Apache Server ( any current references ? )
I know the connectors have been improved over the last 5 years, just
want the current setup.
TIA
- 12
- This JComboBox does not resizes itselfHello.
By the program below, I wanted to change the message "a" on the
JComboBox
left side into "a-changed" by clicking the "change" button.
But all I saw was "..." because the JComboBox does not resizes itself.
How can I resize the JComboBox?
Thank you in advance.
----
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
public class ChangeItem extends JFrame {
public static void main(String[] args) {
new ChangeItem();
}
private ChangeItem() {
setSize(300, 100);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Container cp = getContentPane();
cp.setLayout(new FlowLayout());
Combo combo = new Combo();
cp.add(combo);
cp.add(combo.new XButton());
setVisible(true);
}
private static class Combo extends JComboBox {
private Combo() {
addItem(new Item("a"));
}
private class XButton extends JButton {
private XButton() {
super("change");
}
protected void fireActionPerformed(ActionEvent e) {
Item i = (Item) getSelectedItem();
i.displayName = i.displayName == "a-changed" ? "a"
: "a-changed";
Combo.this.repaint();
}
}
}
private static class Item {
private String displayName;
private Item(String displayName) {
this.displayName = displayName;
}
public String toString() {
return displayName;
}
}
}
- 13
- Problem with Javadoc out of memory in WSAD 5.1.2Good morning,
we are using WSAD version 5.1.2 , now we need to create the javadoc of
our project but during he creation we have the following error :
javadoc: java.lang.OutOfMemoryError: Please increase memory.
For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx
such as -J-Xmx32m.
if I insert this line
C:\Programmi\Java\jre1.4\bin\javadoc.exe -J-Xmx32m
in the Preference --> Java --> Javadoc Menu we have the message
"javadoc command not exist"
how we could solve the problem using WSAD ??
Many thanks
Antonio
www.etantonio.it/en
- 14
- Cool new websiteBrand new site.
Loads of great stuff
Free membership and full access
Check out Yapooh!
http://www.yapooh.org
- 15
- J2EE File Event PatternI have a design issue that I was hoping that this list could assist me
with:
I need to create a File Event Handler that is J2EE compliant.
The basic requirements are:
- Detect the arrival of a file on a particular path (including
file masking patterns)
- Recognize the type of file
- Route either data stream or file reference to an appropriate
handler. The handler will process the contents of the file.
- Election of an instance to handle the file (the file will
arrive on a shared drive that all instances of the app will see) to
prevent multiple instances of the same file being processed
Anyone have any good pointers or patterns to use?
Thanks,
Jeff Harman
|
|
|