I am working with org.w3c.xml java library
and encountering a few difficulties performing a few tasks:
I have an Element object; how can I remove namespaces from it and the predecessors?
How can I create a Document without the namespaces? I have tried
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
do...
I need to setup a really lightweight HTTPS server for a Java application. It's a simulator that's being used in our development labs to simulate the HTTPS connections accepted by a piece of equipment in the wild. Because it's purely a lightweight development tool and isn't used in production in any way at all I'm quite happy to bypass ce...
Hi,
I have some enterprise apps running on Java 1.4. They mostly invoke Stored Procedures on a DB, Parse XML files (at the most few megs large), read and write from and to disk. We have a requirement where now we have to migrate these apps to Java 6(No code changes to be done at all).
My questions:
If I don't recompile my apps under...
What do I need to do to control whether my classes compiled with a JavaCompiler will include debug information or not?
I'm thinking it has something to do with the getTask()-method's options parameter, but I can't find any references on whether that assumption is correct to start with, and if so, what is the correct way to control that?...
I don't want to use Tomcat, Jetty or an Java EE 6 container to offer REST services but the built in web server.
...
How can I do to tell if a java class was compiled for use on a java 6 vm?
Is there an easy way?
...
I would like to call on an own Java-method from a JavaScript-file via the ScriptEngineManager provided in Java 1.6. Is that possible?
...
Hi
I'm trying to develop an application that just before quit has to run a new daemon process to execute the main method of a class.
I require that after the main application quits the daemon process must still be in execution.
It is a Java Stored Procedure running on Oracle DB so I can't use Runtime.exec because I can't locate the ja...
A while back I released an application in Java. While I targetted it for Java 6, I realized that there was a significant Macintosh user base. At the time, Apple had not gotten around to creating a JRE 6 for their users, so I had to make the application compatible with both Java 5 and 6.
Now I've returned to that project and realize tha...
I have a JTable extension that has been in use since Java 1.3/1.4 in the project that provided things like column reordering and sorting by clicking on the column. We are upgrading to Java 1.6, and the new JTable stops the old sorting code from working. It would be somewhat extensive rework to fit everything to the new JTable API. Until ...
I'd like to upgrade from Java 5 to Java 6.
We all know about the technical advantages and benefits, but:
I have the problem that a major client refuses to upgrade from java 5 to java 6 because of "the risks" and "no/too few benefits for us" (banking sector).
What can be answered to a non-technical decider at the client what benefits he...
When I deploy my EJB Web service in a WAR file the context of the Service changes.
i.e.
--http://localhost:8080/ServiceName/EJBName?wsdl
Now, it has the web application context->
--http://localhost:8080/WebAppName/ServiceName?wsdl
Why did this change and how do I control the URL of the Web service
I'm using Glassfish3/Java6 and this is ...
I know nothing about Java.
There is Java 6 steady state at benchmark
http://shootout.alioth.debian.org/u64q/which-programming-languages-are-fastest.php
which Java 6 steady state is the fastest among all other Java. I've searched and no good result about it
What is Java 6 steady state? Can any Java web framework running on Java 6 ste...
Why does RAD7 give a compile error of
The constructor IOException(Exception) is undefined
on the following line
throw new IOException(ex);
The Javadoc for Java 1.6/6.0 states that IOException has a IOException(Throwable) constructor
When I look at the definition of IOException I see only the following constructors
IOExceptio...
i am trying to start tomcat i have recently installed it and setup all the Enviornment Variables but on running startup it gives Exeption in CatalinaProperites.loadProperties what should i look for?
...
When developing with Java6, is there any Maven plugin for compiling an XML schema into the associated Java classes from Maven?
...
We are looking for JDK 1.6 on for RHEL 5.5 on IBM Power Series. Can some one help?
...
We're currently using ojdbc14.jar, should we be using ojdbc6.jar ?
Update: Oracle 10g being used
...
Why does this compile in java 6 (Sun 1.6.0_16):
System.out.println("\u000B");
... but not this:
System.out.println("\u000A");
On this program:
public class Test {
public static void main(String argv[]) {
System.out.println("\u000A");
}
}
I get a
Test.java:3: unclosed string literal
System.out.println("\u000A");
What's ...