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 ...
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 ...
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
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!
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
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 ...
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 :/* * ...
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.
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 ...
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 ...
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 ...
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 ...
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 ...
68 byte By
Kizza at 2007-9-26 17:29:44
Is there any other popular J2ee framework easy to use?
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 ...
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 ...
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.
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
88 byte By
sheriang at 2007-9-26 19:29:24
is anyone know how to develop genetic algorithms? i need some guidance....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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" ...
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?
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 ...
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.
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". ...
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 ...
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?
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
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 ...
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 ...
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 ...
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 ...
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 ...
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()
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 ...
i find this feature in object c is very powerful.you can add method to a class declared anywhere,not new class.