I want to ask for your prefered way to test JEE code?
I found only three project, that are trying to help to code unit tests in JEE environment:
http://jakarta.apache.org/cactus/ : Last Published: 2009-01-18
http://www.junitee.org/ : Last Release: 2004-12-11
http://ejb3unit.sourceforge.net/ : Last Release: 2008-05-17
So I wonder,
...
Hi all,
Have been pulled down into the realm of CORBA...
I am trying to quickly learn (if not master...) CORBA along side its Java mappings. I have come upon some old tutorials:
Java IDL: The "Hello World" Example
Naming Service
orbd - The Object Request Broker Daemon
I have created a project with the source from the first link abo...
HI,
How to retain the current state of the application with all the opened tabs and loaded grid when user does browser refresh or f5 in GXT using MVC pattern?
Regards,
Srini
...
I have an application with several threads running. Each of them is wrapped with a cath(Throwable ) that I can use if something unexpected happen. What is the best way to restart the app itself under Ubuntu/Linux.
I found this project "Java Service Wrapper" , any experience with it?
I tried the -XX:OnError options, but it doesn't seems...
My scenario is as follows:
I am implementing a server that must timeout or produce a response within the specified timeout period for each request. Thus each request is ensured a response from the server's point of view (the response, of course, might not reach the client due to transport layer failure, etc...).
In order to implement t...
I'm extending Eclipse using the Eclipse plugin infrastructure, and I've come into a problem I can't quite figure out how to get around:
I have a command that has some hotkey. I also have an editor that needs to steal the key bindings from Eclipse (disabling the key filter in the IBindingService). However, this command is "important" e...
Hello,
I'm developing an application in Java and have gotten it rolled into an app bundle, but I'm having issues with the xml file for building my Gui. I would like to store the xml file inside the app bundle, but the only way I've been able to get it to work is to directly access the file Application.app/Contents/Resources/Java/Gui.xml...
I googled and found this article but it didn't work with phpBB.
Would you mind giving me any advice?
...
Hi, all.
My spaghetti monster consumes XML from several different SOAP services, and the URL for each service is hardcoded into the application. I'm in the process of undoing this hardcoding, and storing the URLs in a properties file.
In terms of reading the properties file, I'd like to encompass that logic in a Singleton that can be ...
Some field value contains 0x0D specail character
The value from the hexdump:
4041000000000001D0534534534112342340000
But when I get the field value using isoMsg.getString(field_id), I got an equal sign instead of the 0x0D character
4041000000000001=0534534534112342340000
Is there any method to return the value as is without changi...
I am trying to use Lucene to search for names in a database. However, some of the names contain words like "NOT" and "OR" and even "-" minus symbols. I still want the different tokens inside the names to be broken up using an Analyzer and searched upon as a boolean combination of terms, but I do not want Lucene to interpret any of the "N...
I know 1.3 is old as dirt, but I don't have an option of doing a jvm upgrade at this point.
...
Hi I have a difficult regex problem that I have tried and have a partial solution, but haven't gotten to work perfectly yet. Essentially, I have to parse a document that is in an outline format such as this:
1. HEY BUDDY
1.A. Your the best
1.A.1 And i know
1.A.2. this because
1.A.3 it is
1.A.4. the
1.A.5. truth i
1.A.6. tell ya.
1.B....
Hello
I have this problem:
I have a few threads which access one object with synchronized(Object) { ... }
But sometimes this exception is raised:
execute: java.util.concurrent.RejectedExecutionException
Why? And what should I do with it?
Thanks
...
I'm working on an inherited system which has some design issues which "OO Buzzwords" frown upon, and some I personally dislike.
It's a stock and sales handling program for a comic book store.
I have an Article class, which can be any item (Magic cards, toys), and a Publication class that inherits from Article, which represents books an...
I have a newly defined annotation that is targeted at methods. Is there a way to annotate it in such a way that when I apply it to a method a() of class A, it will also apply to a method b() of class B which inherits from A, provided that b() conforms to a() in some way- similar names, conforming input types, conforming return types, etc...
What is a Java type which can hold a PNG implement and provide access to it's pixel buffer?
...
I'm using IBM's build of Java with HttpClient and having little success. Whenever I use the HttpClient object's executeMethod(), I get a NoSuchAlgorithmException.
Dec 22, 2009 2:59:58 PM com.ibm.rcp.security.ssl.PlatformSSLProtocolSocketFactory createPlatformSSLContext()
WARNING: CWPST502W: The algorithm for recovering the key from th...
How to add tab index of selectOneChoice of Oracle's ADF ?
...
How do I split this comma+quote delimited String into a set of strings:
String test = "[\"String 1\",\"String, two\"]";
String[] embeddedStrings = test.split("<insert magic regex here>");
//note: It should also work for this string, with a space after the separating comma: "[\"String 1\", \"String, two\"]";
assertEquals("String 1"...