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

Please help!How to convert String to float?

167 byte By xueqingwang at 2007-9-26 16:14:54
I meet a problem.That is I need to convert a String variable to a float variable.for example:convert String s="123" to float f=123.0

How to access a Search Engine in Java?

177 byte By littlenn at 2007-9-26 16:22:51
I want to design a simple programme which need to access a Search Engine to get the results, but I do not know how to access a Search Engine.Please help me!

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

New Open Source Project for Secure Data Transfer

213 byte By spektr44 at 2007-9-26 18:13:21
http://vanveen.bizland.com/index.htmlThis site has all the source code, user manual, screen shots and Installer for new Secure Data Transfer Applications which using SSL client and SSL Server.

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

Request: API for Reporting

628 byte By drfurunkel at 2007-9-26 18:25:41
Hi,Is there a general API in java that allows you to create reports (like bar charts) ? I am thinking of an architecture like JMS and JNDI where you can specify a provider through a URL, get a connection through a connection factory and then create reports through such a connection. There are ...

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

Genetic Algorithms

88 byte By sheriang at 2007-9-26 19:29:24
is anyone know how to develop genetic algorithms? i need some guidance....

a funny entertainment plan:multi sotryline novel reader

895 byte By urd724 at 2007-9-26 19:52:28
hello i wrote a little but funny and maybe having some entertainment program-->MLNR: multi storyline novel reader(of course including editor).and i set up a little standard about multi storyline novel file.its just my interesting-->writing multi storyline novel(each line can be the main ...

Is Java DEAD!!!!

464 byte By akhilpoddar at 2007-9-26 19:52:37
There has been no recent postings in your Java Forum. All the technical questions were mostly posted in the year 2000. Projects are also now coming in Java especially in Application Developement maybe due to its tough and not so good printing API or Report Generation.Most of the software ...

Is Java DEAD!!!!

464 byte By akhilpoddar at 2007-9-26 19:52:40
There has been no recent postings in your Java Forum. All the technical questions were mostly posted in the year 2000. Projects are also now coming in Java especially in Application Developement maybe due to its tough and not so good printing API or Report Generation.Most of the software ...

Is Java DEAD!!!!

464 byte By akhilpoddar at 2007-9-26 19:52:42
There has been no recent postings in your Java Forum. All the technical questions were mostly posted in the year 2000. Projects are also now coming in Java especially in Application Developement maybe due to its tough and not so good printing API or Report Generation.Most of the software ...

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

private member access !!!

339 byte By v_sanas at 2007-9-26 20:47:19
Hi !I have a class in which there are some private and some public data members. I want to get the name of each data member ( public as well as private ) along with its data type in order to put this information in vector. Vector is in the same class. how can I do this? does ne 1 know the ...

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?

CLI system in Java

328 byte By nomy_with_java at 2007-9-26 21:00:42
Dear, i want to develope a CLI system in Java i attatch a telephone cable with my modam in IN port and in Out port my telephone set will be attachted and whenever i a call come my software will told me its telephone number...... how can i access the modam ... ? and any other suggesstion about ...

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.

constructor problem !!!

639 byte By v_sanas at 2007-9-26 21:12:30
Hi !At some point inside a class, I have name of the constructor of another class and the arguments to be passed to it in the STRING format. I need this information to invoke this constructor of other class. How can I do that?For example, I m in the constructor of the class named "Carrier". ...

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?

i like to know !

226 byte By kamaths at 2007-9-26 21:30:26
Hi everybody,Is it possible in any way to get all query posted in this site to be redirected to my e-mail account. As in Microsoft form, if yes ,then how ?please mail me to sud_kamath@rediffmail.com

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

can ne 1 answer this interesting question?

857 byte By v_sanas at 2007-9-26 22:07:47
Hi!if a data member in an instance of a class gets its value changed through an accessor method, how can i track that event and get the information about the change made from another class? does java provide ne inbuilt methods for this? for example, i have an instance of a 'Person' class ...

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

How do i get the components when a new window opens from the main window?

277 byte By piussanjay at 2007-9-26 22:15:39
In a given application, i am able to get the list of components for the main window. When an event happens in main window, now a new window opens here how do i get the components for this newly opened window? Here for this new window how do i do a getComponents()

Bitwise operations

395 byte By jswordfish at 2007-9-26 22:17:32
Hi..I need to evaluate a character (to be passed as block checking character for serial communication) which is formed by 1. summation of all characters in message.2. setting the most significant bit to 0.How can i accomplish setting the most significant bit of this character to 0?Any help ...

add categories to java

140 byte By rhapsody88 at 2007-9-26 22:22:53
i find this feature in object c is very powerful.you can add method to a class declared anywhere,not new class.