j2ee

Logging for JBoss 3.2.5 J2EE Client

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...

Support for EJB2 with Jboss 5CR2

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 ...

How to set a timeout during remote ejb lookup?

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... ...

Besides EAR and EJB, what do I get from a J2EE app server that I don't get in a servlet container like Tomcat?

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...

Strategy for Offline/Online data synchronization

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 ...

What is the best way to allow both a servlet and client-side scripts read the same file?

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...

J2EE Error Handling - Application and User

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 (...

Looking for a good WebSphere book

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. ...

java ee | ejb3 | runtime dispatch

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...

Which book would you recommend for entering into the J2EE world?

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...

Getting started with Websphere portal 6.1 ....

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 ...

Is there a better way to compare general performance of .Net and Java in an eCommerce setting than the "pet store"?

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...

Java: Certification > Job Positions

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...

Access Get parameter with a scriptlet

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...

java web app decorating/includes issues

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...

Which webserver to use, for Oracle apps

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...

How to get the page count of a microsoft word document in java?

Hi, for a server based j2ee application, I need to retrieve the number of pages from word documents.. any ideas what works? ...

Java Application Server Performance

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...

Getting Started With J2EE

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...

Is there any other strongly-integrated presentation layer tool other than JSF/JSP for Java EE?

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...