Alright, the question might be broad. We've been looking at Jboss and a few other similar app. servers.
From the feature list it would be perfect for replacing our soon to be outdated homegrown reporting application on the server side. But at this point, for 2 developers, just grasping all the setup, configuration, administration, tunin...
Hi, Yes I know this is a recursive question.
But I have this problem.
I have less than 1 year, maybe 8 months and I need to know something usefull.
I know little/nothing about linux. Is this a big disadventage for learn java (considering the time I have to learn both if this is necessary) ?
So I would be a Junior developer.
I'm going...
I just had to write the following stupid class to avoid going insane:
import java.io.OutputStream;
import org.w3c.dom.Document;
import org.w3c.dom.bootstrap.DOMImplementationRegistry;
import org.w3c.dom.ls.DOMImplementationLS;
import org.w3c.dom.ls.LSOutput;
import org.w3c.dom.ls.LSSerializer;
public final class XMLSerializer {
pu...
Hi,
Is there anyway in Java to find out if the given path is absolute or not regardless of the platform the program is currently running. So, what I want is probably something like the following example:
On Linux:
new File("/home/").isAbsolute() // Should return true.
new File("C:/My Documents").isAbsolute() // Should *also* return t...
Hi! i have written a program in java for printing.
it works fine when i run it independantly but when i uses this as an applet it not working.
PrintServiceLookup.lookupDefaultPrintService() does not return me theprint service.
please send me the write answer with reference.
Regards:
Babar
...
I have really enjoyed playing Robocode with my first robot. Now I want to make something a little more exciting. What's the best tutorial on making advanced robots?
...
Possible Duplicate:
What is the difference between Serializable and Externalizable in Java?
what is the difference between serialization and externalization in java?
...
According to the Queries and Indexes doc you can go a query effectively identically (so far as I can tell) to this:
PersistenceManager pm = PMF.get().getPersistenceManager();
try {
Query q = pm.newQuery(App.class);
q.setOrdering("name desc");
try {
results = (ArrayList<App>) q.execute();
} finally {
q.closeAll();
}
} finally {...
Is there a way to output a call trace for a particular thread in java?
I do not want a stack trace. I would like a sequence of calls on each object for tracing.
...
I am working on a project, which is having huge database. [ around 32gb data in one week ]. We are using DB2, and spring-framework + jdbc. I just wanted to know is JDBC capable of handling this much of data? Or should i use something else? Or if JDBC is capable of doing this then should i use some specific technique for this thing.
...
Possible Duplicate:
Java voice recognition
I am buiding a java application related to speech recognition and synthesis.
but i couldn't find an appropriate speech API for my application.
Please suggest me links from where I could download seech API.
...
Hello Everybody,
I have a Java desktop application using netbeans 6.5.1. I was wondering if anybody can help me in suggesting code for autosatrting the Jar file on windows start up.
Thanks in advance
Bhavi
...
Hi
I have written a Java Card App and want to upload it to a Card. But the card supports Java 2.1.1 standard. So I am looking for a way of generating a 2.1.1 Compliant CAP file with my 2.2.2 Kit
I have Java 1.6, GPShell 1.4.2, Java Card 2.2.2, JCOP 30 V2 Card
...
So I have this general purpose HashTable class I'm developing, and I want to use it generically for any number of incoming types, and I want to also initialize the internal storage array to be an array of LinkedList's (for collision purposes), where each LinkedList is specified ahead of time (for type safety) to be of the type of the gen...
Hi All,
I want to know whether is it a good idea to catch exception based on unique index of sql in java.
i want to catch an exception like 'duplicate entry for 1-0' if so then handle exception otherwise insert properly in database table?
...
I've written an image processing program in MATLAB which makes heavy use of the MATLAB Image Processing Toolbox, especially the morphological operations (imopen, imclose) as well as imadjust. We do a lot of spline fit operations and medfilt2 and medfilt1 a lot also.
We have a client who wants us to convert this program to Java. I would...
I've creating a Java Swing application and I realized that I have many many components on a form.
It's not that my interface is cluttered, but nevertheless the total amount can be quite high (hundreds) because the user can enable additional parts of the interface and there have to be list-like repeating panels on the form.
Additionally...
We have built a web application that accepts SOAP messages, does some processing, calls out to another web service, massages the response and sendd it back to the original caller.
We'd like to log, in a single line, the different execution times for these different steps. We use log4j with the JBossWS stack. In other words, we'd like th...
I am want to have controlled if my rmiport is available and I can have my connection or if it is busy, not available or wathever. I know if it cannot connect it is shown an exception message, but I would like to have it under control, so if it cannot connect I want to show a message like "Connection Failed" and stop the process. (I am wo...
Just to keep my sanity, I'm telling Spring to barf on circular references:
_context = new ClassPathXmlApplicationContext(getApplicationContextFiles(), false);
_context.setAllowCircularReferences(false);
_context.refresh();
_context.start();
The problem is that the resulting stack trace actually does look like barf :|
...