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 ?

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

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

help needed for Controller jsp code !!

617 byte By j2ee_newbie at 2007-9-26 16:11:57
Hi Guys,i've started woking on EJB very recently , though i've worked on core java / jsp/servlets/beans & i want to imlpement Model II Architecture for that(ie Controller JSP included). Actually i want first html/jsp/servlet page sud call controller page & then the request sud be ...

JDBC Driver Settings Connect J2EE to InterBase

366 byte By perumal_ve at 2007-9-26 16:11:59
Hi,Please could you give me an idea about how to make connection between J2EE and InterBase DB, I would like to know the JDBC Driver settings in J2EE default.config file for InterBase Database through InterClient.InterBase is connecting succesfully when using Jakarta-tomcat for JSP file but I ...

need help on event notifier/listener pattern

219 byte By wuym2000 at 2007-9-26 16:23:11
hi,i am designing an event-driven system,i hope to get some reference materials and source code of event notifier pattern.could anybody here give me some help?thank you in adavance!woo

Candidates for use of Singleton Pattern

363 byte By PatneyS at 2007-9-26 16:32:03
HiCan any guide me , where to use Single Design pattern in Java Based ApplicationsShould i use Singleton Pattern in the following situations1)RMI Server 2)Controller Classes ( MVC) invoked by Servlet3)Database cashing /handling classesPlease suggest other suitable places alsoThanks in Advance ...

Use of JMX RI

2554 byte By bim007 at 2007-9-26 16:32:46
I have been trying to use the JMX agent and instrumentation RI from the SUN download site. However although I can get the BaseAgent.java program running, I am unable to view it through my browser. Could anyone please suggest what the problem could be. The BaseAgent program is pasted below :/* * ...

RMI and Singleton

227 byte By sanresi at 2007-9-26 16:50:13
Hi!!How can I apply the singleton pattern in remote objects? Is it possible to control the instance existance by naming service? Where can I find some feature about this subject?ThanksSandra.

To enable URL rewriting in WebLogic Server 6.0

464 byte By javavisu at 2007-9-26 16:51:25
I deployed a WAP enabled application in Weblogic Server 6.0 in whch i used encodeURL method of the HTTPResponse servlet class which encodes the session ID into the hyper-links on the Web pages that your servlet sends back to the browser.For this we need to set ...

Web Application Architecture

431 byte By nbeyer at 2007-9-26 16:58:08
Does anyone have any recommendations in regards to a Web Application Architecture using Servlets, JSPs and other J2EE components (v1.2.1)? Books, Web sites, anything.I'm looking for some architecture suggestions/patterns for a large scale Web Application, as well as some concrete examples. All ...

Java/J2EE consulting firms

2907 byte By abayme at 2007-9-26 17:05:20
The Bayme Capital Group is an independent investment bank specializing in mergers & acquisitions advisory services. We focus on middle-market clients in information technology, and federal technology services. We intentionally limit the number of sales that we handle, so clients receive our ...

Callback by java application in J2ee Server

360 byte By itsstanley at 2007-9-26 17:14:02
Hi allI need to pass the client reference in a java application(Not web app) to the bean,whether it is session, entity or message, and allow the bean to callback the client (by invoking the method located at the client side or another mean) when some event is happened. Is it possible? and how ...

ssl+apache+tomcat

386 byte By LynnTMS at 2007-9-26 17:25:48
Actually,i'm developing a system that incorporates apache+ssl+tomcat.Basically,i managed to developed have of the project with apache and tomcat.Unfortunately,i encounter some problem when it comes to getting ssl+apache+tomcat under win98.Do any of you have any experience in getting ssl work ...

Is Struts the most popular J2ee framework?

68 byte By Kizza at 2007-9-26 17:29:44
Is there any other popular J2ee framework easy to use?

Design question

869 byte By forum_user at 2007-9-26 18:06:48
Hi,I am new to j2ee platform.I am working on a j2ee application with jsp as presentation layer. I am using struts as MVC pattern model. I am facing some puzzle while designing the application. Hope someone share their experience with me.When there is a one-to-many relation in the database ...

Aggregate Entity with entity-entity EJB relations is inelegant?

4880 byte By meltwater at 2007-9-26 18:09:22
Hi,Take a look at he Aggregate Entity Design Pattern. http://developer.java.sun.com/developer/restricted/patterns/AggregateEntity.htmlIn one portion it states "According to the EJB 2.0 specification, a dependent object is defined as follows:............" This means the authors were quite ...

connecting to sql server

245 byte By arvind_br at 2007-9-26 18:16:52
hii want to connect to sql server database through j2ee server 1.3.. - i have problem in finding the required driver - and how to configure the driver and how to connect to the data base using thisarvind

J2EE vs .NET performance with Pet Store & Stored Procedure discourage

583 byte By mirjua at 2007-9-26 18:29:40
I read an article about an implemention of Pet Store inJ2EE and .NET.In the article they said that Sun discourage Stored Procedure usage in the Blue Prints & Patterns.I really can't belive it!!I participate in a development 2 years ago in which the movement of the logic from the client (in ...

J2EE Pattern ValueObject and EJBs with local Interfaces

682 byte By RKlinger at 2007-9-26 18:45:25
Is it useful to use the J2EE Design Pattern with EJBs that have local Interfaces?Example:variant 1a entiy bean (with local interfaces) creates a value object with its attributes. Another ejb (with local interfaces) gets the value object with one method call.variant 2The client (in this case ...

Caching Resources

1174 byte By tremier at 2007-9-26 18:56:31
I've been reading through the various different J2EE patterns and I haven't been able to find a generic pattern for storage of application resrouces.The EJB Environment has a lot of these already handled via JNDI, however on the servlet/client end of things, there isn't anything.The closest ...

Design Pattern

470 byte By AndrewF1 at 2007-9-26 19:11:28
Urgent!! Please help!!!Is it possible for a Session Bean which implements Session Facade pattern to call an Entity bean directly? Our Client insists that a True Session Bean (which does not implement Session Facade pattern) can only call an Entity Bean and not a Session Bean which implements ...

DAO Factory(ies)

1626 byte By BrianLedsworth at 2007-9-26 19:24:45
All,Ive implemented a classic DAO Factory. However, I want the DAOFactory to not require calling methods to indicate the type of factory to use, such as Oracle or MS SQL. I would like the DAOFactory to return a SQLFactory, OracleFactory, or XMLFactory based upon environmental setup. I also wish ...

Accessing Session object from JSPs

445 byte By souravm00 at 2007-9-26 20:03:28
Hi,I've a query regarding JSP design.Typically in J2EE applications JSPs get output data (to be shown in the html) from Request object itself (stored as an attribute). Sometimes for simplicity of the application one might need to access the output data from Sesssion object itself. Can anyone ...

Storing data across multiple sessions

441 byte By souravm00 at 2007-9-26 20:03:33
Hi All,I've a problem. I need to store data which can be accessed by multiple sessions. I don't want to store the data in database. At the same time my requirement is that the design has to support application servers in clustured environment. Hence I cannot use any singletone class to store ...

Passing a JavaBean Object to a EJB

491 byte By rraman78 at 2007-9-26 20:21:09
Hi techies:I am facing a problem as how to send a JavaBean object to a EJB.Help me with some example code to rectify a error >>Error: Stateless Session Bean can have only 1 ejbCreate method with no parameters.This is the error when compiling and would request all to help me solve my ...

J2EE Design Patterns

162 byte By AndrewF1 at 2007-9-26 20:27:29
If you don't have SessionFacade pattern implementation,is it possible to have a Business Delegate talking to a Session BeanThanks in advance

Recommended patterns books!?

451 byte By juhaelias at 2007-9-26 20:48:55
Hi!I'm quite new to designing distributed software, and....Which patterns books would you recommend when designing J2EE apps... and generally java apps?Is Core's J2EE patterns really that good (sells well)?How about Applied java patterns (Core/Sun)?Should I consider acquiring The "GoF" ...

Newbie

231 byte By willemluijk at 2007-9-26 20:54:56
I came from Delphi Client Server and want to redevelopand scale up my app with Java and the useof a appserver. Where should i start?Where can i find nice help for doingin thingsthe ERP way?

J2EE Help

127 byte By rabbia at 2007-9-26 21:06:45
sir,i want to know that what exactly is J2EE and where can i find related articles about it.thanks.

Example Source Code For Value Objects

1041 byte By dudleyda at 2007-9-26 21:12:50
I am starting on a new project that is using the J2EE platform. This application is a database maintenance application mainly doing updates to database tables. I have a good understanding of the main concepts/patterns I want to incorporate but don't know how to actually go about implementing ...

store a txt file in war

201 byte By wcollazzo at 2007-9-26 21:25:18
Can i include a file.txt in war package and read it from servlet classes post deployment? I thow, but the jboss generate the error: file not found. What is the correct path specification?

Architecture Problem

826 byte By mohit_rathi at 2007-9-26 21:38:55
Out of these two architectures which one is more performance oriented and why ?1. Requests will be first gone to FrontController Servlet where authorization and authentication is done and then request is passed to one another SERVLET which will do business validations by calling EJB and forward ...

Page-by-Page Iterator Pattern

377 byte By sankarjune14 at 2007-9-26 22:00:38
hai,i am a newbie to J2EE Pattern. i would like to know some examples about the Page - by - Page Iterator pattern. my requirement is to display results 10 by 10 in each page to the client by JSP. i am having nearly 10,000 results to display. how can i use Page - by - Page iterator concept to ...

Large Application Design Pattern help

1103 byte By kanzen at 2007-9-26 22:09:16
I am facing the following challenges in my application. i would appreciate if someone can point me to any design patterns that might be relevant to this scenario.A user logs-in to a website a session bean is created for the particular user, her particular settings and data are used to ...

server.policy in j2EE server

1219 byte By ramble at 2007-9-26 22:12:33
I need to know Write and delete files through my web application running on J2EE server. I have to make changes in the file server.policy in the lib directory of the server.Please tell me what changes I have to make.There are Following lines in the server.policy// Additional properties needed ...

J2EE Design Patterns.

674 byte By lggoundalkar at 2007-9-26 22:31:07
Hi All,Where can I get the detail notes on J2EE Design Patterns, part of SCWCD.Section 13 says..13.1 Given a scenario description with a list of issues, select the design pattern (Value Objects, MVC, Data Access Object, or Business Delegate) that would best solve those issues.13.2 Match design ...