J2EE App Servers

710 byte By Rloxley at 2007-9-26 11:12:16
HiI am currently investigating the setup we'll need to develop java apps - we're looking to develop multi-tier applications using jsp,servlets and ejb's. We are however currently tied into using Microsoft IIS webservers. From what I can gather we therefore have no choice but to purchase an ...

Can JDO replace Entity beans.

193 byte By selkumarm at 2007-9-26 11:19:03
I feel that while designing a J2EE application, using the Java Data Objects alongwith Entity beans is somewhat redundant. Is it so or there is any reason behind this architecture?

Session in two or more WAR

456 byte By TomXu at 2007-9-26 11:24:17
A servlet in WAR_A talk with a browser ,the servlet record some status,such as username,login success or failed.Then,the browser go to another servlet in WAR_B,How can the servlet in WAR_B get the status made by the servlet in WAR_A a moments ago.In some application on web,such as WAR_A work ...

File Permission problem EJB in J2EE application

306 byte By simonyu at 2007-9-26 11:32:43
Dear all,I have tried to use the method File.delete() to delete a file. However, when I call this method in my EJB, I got the the exception "access denied [FilePermission abc.txt delete], can I delete a file using EJB in J2EE or use JSP to delete files?Please help me, thank you ...

How can i configure the deployment descriptor?

492 byte By heyanchun at 2007-9-26 11:59:37
I have a question as follows:I use a SessionBean to invoke two EntityBean's methods,and i want these two methods in one transaction context. I mean i want them rollback or commit together.for example :Session bean method sessionTest(),invoke EntityBean methods test1()and test2(),if test1() is ...

Transaction Integrity Problem with MVC

730 byte By cklim at 2007-9-26 12:07:33
I have develop a web application follows J2EE design pattern like Front Controller and others in J2EE Petstore Example. I'm not using any EJB,only serlvet , JSP and Javabeans and implement Command Pattern in the framework.It has a entry form and after i submit the form , the controller servlet ...

BREAKING THE EJB LAW ?

1168 byte By HydeNSeeka at 2007-9-26 12:13:17
Hello, I've been developing JSP's and Servlets, and am just getting in to the realm of EJB's... I am writing a data-driven system in which I want to query method names from a DB and invoke them on my Enterprise bean. I've been using a simpler version of the same code (not using the ...

J2EE vs .NET - MS Claims

414 byte By thooten at 2007-9-26 12:18:18
Microsoft is saying they developed the J2EE Pet Store blueprint application using .NET and they claim it took 1/3rd of the code and runs 28 times faster on the same hardware configuration (compared to the same J2EE application running on Oracle 9i). http://www.gotdotnet.com/team/compare/Does Sun ...

Please help: Error using Jakarta-tomcat 4.0 beta

2775 byte By yahyaaccess at 2007-9-26 12:18:30
Hi all,Could you please help me with a following error?I am trying to start Jakarta-tomcat 4.0:C:\ Jakarta-tomcat 4.0\bin\startup.bat and I receive the error:Catalina.start: LifecycleException: null.open: java.net.BindException: Address already in use: JVM_BindLifecycleException: null.open: ...

Project Management in J2EE-Development

1042 byte By LucioB at 2007-9-26 12:20:22
Hi all, unfortunatley there is no forum for project management issues, so maybe I will bother some of you with non-technical questions:Is there any learning material e.g. books, forums, newsgroups, tutorials related to the topic of project managment in J2EE-Development? I'm particularly ...

Duke Dollars

135 byte By m77 at 2007-9-26 12:22:03
How to earn one?How to spend?Is it possible Duke Dollars -> real dollars?Where to get info about?

How do I monitor Jakarta Tomcat?

593 byte By wicho_olivares at 2007-9-26 12:25:40
Hi:Im trying to monitor resources (memory leak, cpu usage, etc) used by Jakarta Tomcat.I have tried RUE ( http://rue.nolimits.ro) and JInsight ( http://www.alphaworks.ibm.com/tech/jinsight) with no success (I think Jinsight only works for Websphere).Does anyone has been able to monitor Tomcat in ...

Help! Detect stale ejb homes

6208 byte By kl96aj at 2007-9-26 12:26:27
Hi Expertises,Any idea to improve my poor code for detecting stale homes... or no way to detect it? I got exception after i restart/re-deploy ejbs.I spent big effort on this issue because it gives me significant benefit on performance.thx/** * This is a utility class for obtaining EJB ...

SYSTEM TRAY PROBLEM

96 byte By rahijee at 2007-9-26 12:27:33
HELLO ALLI WOULD LIKE TO MINIMIZE A FRAME IN SYSTEM TRAY HOW IT IS POSSIBLE

I would need to know where to download J2EE Rererence Implementaio

356 byte By passiba at 2007-9-26 12:33:59
I would like to Deploy EJB 2.0 specific beans and would like to have a appropriate deployment tool for that purpose latest J2EE SDK available for download now at the following URL: http://java.sun.com/j2ee/j2sdkee-beta/index.html. was not serving the purpose. Does this deployment tool come ...

How can EJBs talk to the EJBs in another j2ee server?

634 byte By rainbowC at 2007-9-26 12:37:50
Hi there,I've got two j2ee applications that are running on two different machines. In application A, some ejbs need to talk to the ejbs living in application B. But I don't know how an EJB can look up another EJB running in another computer?When a stand-alone java app client tries to talk to ...

New to J2EE

560 byte By calin23 at 2007-9-26 12:38:36
I have downloaded J2EE and I am trying to get started with it. I got the tutorial and I am using it to start learning how to use J2EE. There is a problem though. I am at the first application, the conversion stuff. I didn't manage to use ant to compile my files, but I did it with javac. ...

Can J2EE support Chinese language

832 byte By simonyu at 2007-9-26 12:39:48
The problem is that the Session bean cannot get the chinese character from JSP.I have set<%@ page language="java" contentType="text/html;Big5"%> in JSPwhen I invoke the Session bean by following code/************************************************************InitialContext ctx_forum=new ...

JCP license / copyright

344 byte By SolarOfBAUD at 2007-9-26 12:40:48
Hi there,answering a question I posted elsewhere, someone pointed me towards the "licensing / copyright method of the Java Community Process". Now I have been scanning the net for some time, but was unable to locate any document exactly describing how the JCP handles licensing / copyright. Can ...

Attaching a Icon to a .exe

125 byte By midntrdr at 2007-9-26 12:45:06
This is probably a simple question but how do I attach a icon(.ico) to a executable. ?Thanks,Mark

coupling within ejbs

97 byte By tman191 at 2007-9-26 12:49:06
should ejbs call other ejbs or should the middle tier control all ejb communication

Common classes across separate EJB jars

472 byte By emilesAC at 2007-9-26 12:50:17
What is the best way to package classes that are common across separate EJB jar files? IE, i have an object that is passed between the 2, or a utility that is used by both. Is it customary to package the classes within the EJB jar file? This seems silly to me becausenow you have 2 versions of ...

JInternalFrame memory leaks

1175 byte By vinnyweb at 2007-9-26 13:02:36
Hello, I need help on a bug on the JInternalFrame that SUN have fixed. I'm using in a my own DesktopPane and my own JInternalFrame in a MDI application. On each JInternalFrame created, I have different listener that is rerferer to this JInternalFrame. When I'm closing the JInternalFrame, I ...

Pattern for versioning

488 byte By hedtfeld at 2007-9-26 13:35:19
Hi,I want to run different versions of EJBs on the same application server instance. My idea is to have a component which provides access to these EJBs depending on the desired version. The idea behind this is to test different versions of EJBs (e.g. unit testing and integration testing on the ...

Front Controller Pattern

633 byte By afloom at 2007-9-26 13:38:47
I'm going to implement the front controller pattern. As it is implemented in the blueprints (Pet Store), requestmappings.xml and screendefinitions.xml are only read upon start up. Thus, the web application has to be restarted to carry out changes.I'd like the possibility to perform changes to ...

Singleton pattern over Factory pattern

417 byte By ckollareddy at 2007-9-26 13:42:05
HiWhat is the difference between the Factory and Singleton pattern.Can we use a singleton (pattern) class to create other object instances and return them.What are the advantages and disadvantages for using the Singleton pattern here.Or do we have to use only a factory (pattern) class to do the ...

Job Scheduler

421 byte By hellokhaled at 2007-9-26 13:43:40
I have to use job scheduler for creating agent. Is there any J2EE time scheduling API are there for it. I am using Weblogic, in 6.1 Time Services are deprecated. And they are recommeding got FLUX job scheduler.By using FLUX can i be able to deploy my application on any J2EE servers.Is there any ...

Creating Agents

350 byte By hellokhaled at 2007-9-26 13:43:42
Hi,I have to create Agents that perform the job on regular interval. I am going to use JMS for sending results back to the client. My need is to run this scheculed on the weblogic application server. Does any one have createed or have idea how to proceed can give their valuable ...

Non-blocking J2EE calls

1259 byte By gseel at 2007-9-26 13:45:07
We wish to connect fat clients (in our case Powerbuilder) to a J2EE environment (Weblogic). We also need to make some of the calls from the fat client non-blocking (asynchronous). With many clients, JMS was rejected as a mechanism.Our first solution, which works as a prototype, was to package a ...

Setting Linux environment variable

387 byte By CYung at 2007-9-26 13:46:21
Is there other web site which talks about how to set the environment variable of J2EE for Linux?I followed this web site http://www.dougsparling.com/comp/howto/linux_java.htmlbut after allwhen I tired to compile a servlet program... it couldn't be complied. I think the case is that the compiler ...

Local Interfaces in a clustered environment

206 byte By vivsrivas at 2007-9-26 13:59:57
I am using local interface to call entity bean from session bean where my business logic resides. Does anyone have an idea as to what will be the effect if I deploy this on a weblogic cluster.

taglibs vs servlets

226 byte By tman191 at 2007-9-26 14:01:05
Hi everyone,I have been seeing more examples of calling EJBS from tablibs lately.What advantage does calling EJBS from taglibs have over calling from a servlet?Thanks in advance

J2EE Client

243 byte By zero0008 at 2007-9-26 14:02:20
If I want to run a J2EE client in a remote machine, what is the minimum configuration I need to have besides installing jdk?Do I need to install j2ee on the machine as well? Or can I getaway with having the client .jar file only?

Pattern for Caching Read Only Data

272 byte By DRGO at 2007-9-26 14:04:42
We are looking for a pattern that would help us with the caching of read-only related data.The type of relationship is 1toMany.For example, for each G/L accounts, I can have many activities and for each activities, I can have many location.Any ideas ?

Proposal: To be able to define whether an ObjectOutputStream is Compressed

387 byte By hhaag@travel.de at 2007-9-26 14:15:53
Serialization/Externalization allows you to exchange java objects in a simple way. It is also possible to internally compress the Output Stream (ObjectOutputStream), but it is very cumbersome and messes up the code. So what I would like to have is a flag in ObjectOutputStream that indicates ...

Let's build the dream together

1741 byte By annstanlam at 2007-9-26 14:21:03
I am IT guy and I am creating a platform ( a roaming desktop) based on internet environment. Right now I use Novell Server as backend to provide file storage place. My desktop platform just like a graphical terminal and enable the user to bring up this terminal by a browser. That means no ...

out of Memory error

810 byte By briskrook at 2007-9-26 14:22:45
At one point in my program, I performing calculations on number of rows(~600,000) from a Flat file of 55Mb. I use JSP & JAVA. Here are some things I noticed.1. It's very slow! :-)2. Initially, the cpu monitor shows a high level of cpu utilisation, but this slowly drops off with a blip ...

Problems in J2EE Client

310 byte By selvangms at 2007-9-26 14:32:44
Hi Firends, I got problem while running client application[Not Web Client].In J2EE 1.3 Tutorials, they mentioned <runclient> to run the client program.I would like to know what is it <runclient> is it a command or exe file? where is it?thank uSelvan ...

Stale Value Objects

390 byte By b450 at 2007-9-26 14:35:16
We are using Session Beans, Data Access Objects, and Value Objects in our application (no EBs). A majority of our database tables do not have timestamp columns and we are wondering how others handle stale value objects when timestamps aren't available. Is adding the timestamp column the best ...

Object Hash Code IDs and References

2164 byte By shermandmonroe at 2007-9-26 14:40:54
Hi all,Here is my problem. I have an object, "MasterObj" for discussion sake, that I instantiate once at start-up, from a file contains a list of properties. The properties are used to set various fields in the MasterObj. During run time, other objects, "Callers", are going to have sessions ...

UPLOADING JAVA FILES

149 byte By deliasmith at 2007-9-26 14:44:29
HOW DO YOU UPLOAD YOUR JAVA APPLICATIONS FROM THE ENVIRONMENT ONTO THE WEBSPACE......DO YOU FTP OR ANOTHER WAY......APPLICATION SERVER?

UPLOADING FILES ONTO WEB SPACE

180 byte By deliasmith at 2007-9-26 14:44:30
CAN SOMEONE PLEASE TELL ME HOW TO UPLOAD THE JAVA APPLICATIONS ONTO WEB SPACE CAUSE I DON'T UNDERSTAND .......DO YOU FTP OR ANOTHER WAY OF DOING IT..................

Pls your help: running the Converter example from a remote machine

2268 byte By wyemah at 2007-9-26 14:53:36
Hi guys,Under unix environement, I have jsdkee1.3 installed and using the deploytool I created the EJB application of the Converter example that is in J2EE tutorial.It worked when the client is on the same machine as the server. Then I took the ConverterAppClient.jar and the ...

Question on JSP/Servlet/Javabean design

632 byte By michaelc411 at 2007-9-26 15:06:16
I am designing an architecture using JSP/Servlets and Javabeans.Here's what I have:View: JSP only. Controller: ServletModel: Javabeans/Java classes.My question is should I use the Servlet to set up the Javabean and pass it to the JSP as a session object or an attribute of the request object? I ...

Dispatcher View vs. Service to Worker

173 byte By Sarka at 2007-9-26 15:19:27
Could anyone summarize for me differences between Dispatcher View pattern and Service to Worker pattern? I do not understand them quite well...Thank you

Use of DAO Vs StateLessSession bean

631 byte By muttu at 2007-9-26 15:26:47
Hi, I have been using the DAO J2EE design pattern for bulk data acces from the database avoiding entity beans,.. But what is happening is that I have factory which creates the instances of DAO's and that factory is used by a Session Facade, I do feel that I can get great benifits of ...

Singleton?

250 byte By sagarb at 2007-9-26 15:46:49
Can you give me a brief overview about singleton.What do you mean by 'a singleton object'/ 'Singleton pattern/Architesture' ? I am confused by the term. It would be helpful if someone can explain about the same.Thanks,

Need help on storing persistance records in J2EE JSP application

454 byte By michaelc411 at 2007-9-26 15:52:17
Hi,I want to store a hashtable of info with about five attributes (id, name, username, date) in a persistent state in JSP order to not always call the database. I am either going to use session or request objects.My question is if it's a good idea to store the hashtable with 2000 records just ...

Making my verry own chatroom.

159 byte By thegamemaster1 at 2007-9-26 15:56:55
Someone please help me i want to make my verry own chatroom.Without sponcers like bravenet and bassen.How can i do that.Please Help Thanks

Need appropriate pattern for shopping cart

511 byte By mkskorik at 2007-9-26 16:10:27
hallo all,as i've read in some articles there are common way to represent database entity (a row in the table) by an entyty beans.but, what is an appropriate way to represent a set of rows ? for example - user's shopping cart. i don't like the common way - to implement shopping cart as ...