Hi ,
After I do a JNDI look up , what I get is a reference to the Home of EJB Object.
But when I do an API call on Home/Remote , how does it find the URL/port of the server ?
Thanks
J
...
I'm little confused with Cactus and mock objects (jMock, Easy mock).
Could anyone please answer the following questions?
When to use Cactus for testing?
When not to use Cactus for testing?
When to use mock objects for testing?
When not to use mock objects for testing?
...
Hi.
Our J2ee server (which will remain nameless for embarrassment reasons) slows down drastically from time to time. I have managed to create a thread dump. And trying to analyze it. One of the things that I don't understand is some waiting on locks without finding the locking thread. Here is part of the stack trace of such thread:
wait...
Let's say, I have decided to go with J(2)EE stack for my enterprise application.
Now, for domain modelling (or: for designing the M of MVC), which APIs can I safely assume and use, and which I should stay away from... say, via a layer of abstraction?
For example,
Should I go ahead and litter my Model with calls to Hibernate/JPA API...
Greetings to all the smart people around here!
I'd like to ask whether it is feasible or a good idea at all to deploy a Java enterprise web application to a Cloud such as Amazon EC2. More exactly, I'm looking for infrastructure options for an application that shall handle few hundred users with long but neither CPU nor memory intensive ...
Using Rational Application Developer to create a J2EE application, I create a project for my EAR and a project for my WAR - following the usual project structure created by RAD.
So, how do I create a Maven build file that builds the EAR with the WAR inside, etc - ready to deploy. Build needs to work when kicked-off from Hudson.
...
Consider the case of blogspot.com the domain is the one blogspot.com only but suppose i register in it with xxx then i will have xxx.blogspot.com like wise here it won't be the subdomain (i can smell) , but its some thing different ... how to achieve this ??
in j2ee web application..
...
Hi there! I currently have a JSF application that uses two listboxes. The first, say ListBox1, contains a list of manufacturers; each option comes from the database (via a method getManufacturers in a class called QueryUtil), is populated dynamically, and its value is an integer ID. This part works so far.
My goal is to populate a se...
We have a requirement, wherein the administrative user needs to proxy in as a certain user in an environment where several users (Role: User) are managed by an administrator (Role: Admin).
e.g If we have the following users in the database (admin, user1, user2, user3), we would want the admin to proxy as 'user2' and use the system in c...
I have an existing j2ee application running on Oracle App Server. It is targeted towards paying customers so the content is secured and a SSO module properly intercepts all requests for secured content.
Now the company is adding a unbranded public-facing module with a number of unsecured pages. At one point the user is expected to reg...
Hello - I am using the IBM RAD IDE and building a dynamic web project. When I build the project and attempt to add it to the server by selecting 'add or remove projects' I get the response that there are no projects to add or remove.
Does this mean I will have to create a EAR file (J2EE Project) and add my web project to it in order to...
I've set up a simple Eclipse 3.5/Jetty 6.1 web app which returns hello world. It works. This is on Windows and uses the "Jetty Generic Server Adapter". I have auto deployment working so that it deploys after changes periodically.
How do I go about setting it up so that if I change any static content it doesn't have to redeploy i.e I ...
I have the following code:
Hashtable env1 = new Hashtable();
env1.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"com.ibm.websphere.naming.WsnInitialContextFactory");
log.info("Executed step 1");
env1.put(javax.naming.Context.PROVIDER_URL, "iiop://myhost.com:9301");
log.info("Executed step 2");...
Hi,
I use Richfaces, Seam and JSF, and I want something like the following:
and I have managed it to a degree using a rich:subtable like this:
<rich:dataTable
value="#{backingBean.companyList}"
rows="100"
var="company">
<f:facet name="header">
<rich:columnGroup>
<rich:column>Company Name</rich:column>
<rich:colum...
I have the following construct in EJB-QL several EJB 2.1 finder methods:
SELECT distinct OBJECT(rd) FROM RequestDetail rd, DetailResponse dr
WHERE dr.updateReqResponseParentID is not null
and dr.updateReqResponseParentID = ?1
and rd.requestDetailID = dr.requestDetailID
and rd.deleted is null and dr.deleted is ...
My organization previously used ASP.NET for web projects.
They are now migrating to WebLogic Portal/JEE for all future web projects.
My experience as a Lead Developer / Architect is totally with .NET projects. I want to get ramped up on WebLogic/JEE, so I can contribute to future projects.
Any training/certification suggestions for We...
Can any one let me where the memory leaks can happen when we are developing Java based application.
I am aware of Database but apart from that, is there any other possible ways .
Please list the scenarios
...
Hi all,
I am working on a Spring application using Tomcat 6 and Spring 2.5. I'm trying to get my URL mapping correct. What I would like to have work is the following:
http://localhost:8080/idptest -> doesn't work
But instead, I have to reference the context name in my URL in order to resolve the mapping:
http://localhost:8080/<...
I want to create web proxy . I googled it and even found some tutorial but those were in PHP.
If somebody is having tutorial of web proxy creation in java then please post it here Or simply let me know what approach should i follow to create web proxy. [ i will be using Tomcat { if that matters for your answer } ]
Thanks
Edit
i guess ...
I am using jboss 4.2 server and oracle xe both have same port ie 8080 so I want to change my jBoss port for run our application please tell me how to change port in jboss.
I know how to change port in tomcat but I didnot find in jboss.
...