I'm trying to find out why a J2EE client ( stand alone Java program that uses jbossall-client.jar) is failing to connect to a J2EE Server so it would be good to enable logging that occurs from with JBoss classes such as org.jnp.interfaces.NamingContext - presume theres a config file I can set up ?
Just for info this is the actual except...
How I can configure Jboss 5 to support EJB2?
I'm testing the new release of jboss (5) and need to deploy my old EJB2
...
I'm trying to access a remote ejb which is not available yet. But the lookup takes 5 min before I get the NameNotFoundException. Is there a way I can set the lookup timeout to a lesser value so that the client application doesn't hang for 5 mins?
Thanks in advance...
...
We use Tomcat to host our WAR based applications. We are servlet container compliant J2EE applications with the exception of org.apache.catalina.authenticator.SingleSignOn.
We are being asked to move to a commercial J2EE application server.
The first downside to changing that
I see is the cost. No matter what
the charges for the app...
My requirement is I have server J2EE web application and client J2EE web application. Sometimes client can go offline. When client comes online he should be able to synchronize changes to and fro. Also I should be able to control which rows/tables need to be synchronized based on some filters/rules. Is there any existing Java frameworks ...
We want to share user validation configuration between a Java validation class (for sanity checking) and a Javascript-enabled form web interface (for usability). What's the best way to deploy this static file in our web application so that it is both available to the server-side code, and available via a URL accessed by the client?
So f...
Hi All,
I have a question regarding handling errors in a J2EE application. Our current application is in use by many many users and as a result we get a lot of support tickets. Most of these tickets are user-related but 5-10% are system related exceptions, unhandled errors, etc.
We have the basic exception handling checks in the code (...
My spouse is looking for good book on WebSphere. Preferebly from starter to advanced.
She is an experienced developer.
Can anybody reccommend a title?
Thanks in advance.
...
Hi,
I would like to call an ejb3 at runtime. The name of the ejb and the method name will only be available at runtime, so I cannot include any remote interfaces at compile time.
String bean = 'some/Bean';
String meth = 'doStuff';
//lookup the bean
Object remoteInterface = (Object) new InitialContext().lookup(bean);
//search the meth...
I was wondering if there are any books you would recommend for learning J2EE. I have done a lot of OO programming in the past (mainly java, C# and C++), but I'm now entering the world of J2EE with my job:: "struts 2, hibernate, spring, etc.." so many different libraries, plugins and ways to configure eclipse or netbeans... I feel a bit o...
Okay, my company is a bank. The upper management is dead set on a websphere IBM portal. Apparently IBM is tossing them a bone they can't refuse. We're also a very big IBM shop anyhow with A LOT of LotusNotes applications.
In my experience with IBM, they generally make you go through them to learn their stuff. I'm having to sort of jump ...
Hi,
I've been using the Java Pet Store and .Net Pet Store examples for years when comparing JEE and .Net performance in an eBusiness type setting.
Is there a better way to compare the performance of JEE and .Net for this type of application?
Update:
As some have pointed out below, the implementation, framework versions, architecture...
I have never actually held a job as a professional programmer, yet I have done a lot of training, and have contributed to production projects. I am about to do my Enterprise Architect Certification in Java, and would like to know what level jobs each certification would open the doors to.
What certifications in Java would correlate t...
I hava a url such as search.do?offset=20
offset sometimes is in the url sometimes not. When it is not in the URL i want it to be 0.
i try, without success, to retrieve the value with a scriptlet as follows:
<% Integer offset = (pageContext.findAttribute("offset")==null) ? new Integer("0") : new Integer((String) pageContext.findAttri...
Background: we have a system that was written in an older CMS based on Java back during the 2002-2003 days. We want to keep moving forward with our new stuff, using tomcat, stripes, and sitemesh. We have navigation, layouts, "pods", js, css, etc, that we've taken out of the old CMS and into a few of our new apps so we have consistent l...
Hi
I am confused by J2ee webservers !! I downloaded a free Glassfish server from sun, then as I am an Oracle developer downloaded the latest JDeveloper, which comes with a Weblogic server from BEa/Oracle. One is free the other costs $1000s. What is the real difference.
I want to write a SOAP interface to my Oracle database 10g, can I...
Hi,
for a server based j2ee application, I need to retrieve the number of pages from word documents.. any ideas what works?
...
I've got a somewhat dated Java EE application running on Sun Application Server 8.1 (aka SJSAS, precursor to Glassfish). With 500+ simultaneous users the application becomes unacceptably slow and I'm trying to assist in identifying where most of the execution time is spent and what can be done to speed it up. So far, we've been experim...
I am about to start a web project and have been working almost exclusively with a LAMP stack for the past 5 years. I would like to build something larger and more scalable and hence have been looking into J2EE. The division of logic between JSP and EJB seems ideal for what I want to do.
Can anyone recommend resources for getting famil...
Hello,
I'm teaching Java EE at the university, and this was a question a student asked. I said "no", but I wasn't really sure, so I thought I might ask you mighty developers. :)
Basically, what I'd like to do is to use entities if they were in my context: cat getters, setters, etc, so like normal POJOs. if I use an EJB using its remote...