157 byte By
luck986a at 2007-9-29 11:07:22
I installed Apache HTTP server and Tomcat, but I cannot run the examples coming with Tomcat. What config should I change, or what should I do? Thanks.
I was tempted to add this question to the end of http://forum.java.sun.com/thread.jsp?forum=425&thread=440740&tstart=0&trange=15 but I've had a poor response in the past by adding a question to the end of an existing thread.I am working on a project with a rather poor ...
hi friendscoud any tell me the core benefits/asvantages of using CMP beans on the BMP ot vice versa!!!or any disadvantage of using any specific type... with that were should be use the CMP and where BMPthxs!
hi friends!need you help on the follwoing issue,, well its a confusion...can we say that Session beans fall in the View part of the MVC architecture if we think of charcterizing it....well following are my questions..(1) we do use session beans as a front end for handling complex transactions ...
HiCould any one tell me which UML tool is the most widely used in the industry? I'm trying to draw up a list of UML tools to consider. Thanks in advance
1166 byte By
Behrada at 2007-9-29 11:15:15
Howdy, i'm developing a web-app ( Servlet,Jsp and Oracle ) for a University Registration Management System.System requires a lot of reports and lists ( tables ) for system operators.My issue is when to load data?!Any web-app example says that, show a JSP, get request, connect to DB, show ...
Hi,what do you think about a method foo(int a) ignoring the parameter a?GreetingsPara
What is the best UML diagram that can be used to show a XML parsing process by SAX?SAX is event-based, I want to show the handling process in a diagram, for example, in startElement(), I want to create a new object, and then in characters(), I want to add some data to the created object, and in ...
HI,there:I want to use mvc pattern, but how to tell system which servlet is controller and forward each request to this controller ,need i do configureing? Thanks Ben
Summary=======Define an interface which declares static methods. The essence of what I mean by this is: define a number of classes which contain/provide access to common methods to which we can make static calls.Details=======What we are trying to achieve here is effectively an interface which ...
622 byte By
dc-dca at 2007-9-29 11:29:52
I am new to J2EE programming and writing a controller to execute action class based on the action value from a property file (quite similar to resources bundle). the coding is something the followsclass = "action_form1";// from property file //where action_form1.java implment FF interfaceFF ...
306 byte By
room333a at 2007-9-29 11:32:51
Hi,what I need to do is represent some classes/data in uml. i.e. I have a class that has a hastable and I need to represent the class + all the values in the hashtable in uml. I thought about manually creating an xmi file but dunno if this is the best way to ...
1055 byte By
teppoka at 2007-9-29 11:34:52
HiI have been desiging a application framework based on MVC-paradigm and EJB.Gestures made by user are processed by the controller, which creates a stateful session to act as a model. View is registered into the model, which notifies the view, when data is changes:1. ctrl creates model2. ctrl ...
Hi I am new to designing, I am not able to confirm whether my design explained below is a valid or proper one, should I improve in any other place.M - Stateless session bean having methods for insert, update, delete, view, V - Jsps, html, js, imagesC - A single servlet for a single ...
hii wrote some algorithms like Fast Fourier Transform, N-body problem, Graph problems, and ran them as parallel applications on multiple processors(2, 4, 8) using both j2ee and rmi architectures.all of the applications ran faster with j2ee. i was expecting rmi to run faster. because j2ee will ...
Which pattern is followed by EJB Remote interface & Container implementation class of that interface?Is there anyting mentioned in specs?This questoin was asked to me by many people.I think it is Command design pattern as it hides away all the details of actual business implementation.but ...
Hi,I am currently involved in analyzing java source code, which runs to 1000's of lines. It is similiar to java.io package, where I have fundamental set of base interfaces, and several sub classes inheriting/implementing the base class and providing additional unique behaviours.I also have a ...
1720 byte By
nakusera at 2007-9-29 11:54:36
I have a an MDB running in websphere, listening to messages from MQ series. The bean sends the message to a Session bean which has Transaction control settings set as Required. When the responce comes back from the Bean, Transaction manager tries to commit and release all the resources that are ...
228 byte By
ng_kita at 2007-9-29 12:00:14
Hi All,I would like to know how to init the class during EJB container startup? (In my case, I do not have web container in my project, so it is impossible to init the class by servlet).Many ThanksKit
I am not sure whether it is a good idea, to use UML diagrams in a SRS instead of using only text. What do you think? And is it common? What are the best practices when writing SRS?
Hi,I have decent amount of experience working java API's, but believe me I dont know much about patterns, So can someone provide me some link or a faq kind, where it shows , if the classes are like structure 'x' then its this pattern. for example-package test;interface a {}class b implements ...
Hello All,Could anybody help me out? I have a small clarification....The client calls the controller servlet..The servlet sets the bean properties..The servlet forwards the request to the view..Now I would like to know as to which is the best way to access the data in the bean.?Can I have the ...
Hi,I'm looking for documents describing UML profile for Java programmers i.e. how to express in UML typical Java elements. I mean package/friendly members visibility, inner classes, final classes and so on. The more - the better ;)Thanks in advance,__ralfer__
289 byte By
Glossya at 2007-9-29 12:16:03
Hello !I'm currently looking for information on java frameworks. I mean articles, books explaining principles of java framework using XML externalizers. Samples and documentation about existing frameworks like IBM's WSBCC also might be of interest.Thanks in advance.
What are object oriented concepts?
697 byte By
t.k.k.a at 2007-9-29 12:25:55
hello,I didn't understand to handle with the Progressbar.For example when want to represent the download of a file:I have a class TransferE (Entity), which does the transfer of the fileI have a class TransferUI (User Interface) for the user interfaceI have a class TransferC (Control) between ...
Well, I heard this from my "Object Oriented Programming, Distributed Computing, and Web Services" teacher:A constructor cannot call any method on it's code. Of course you can code-it to call te method, but it would be bad OO programming. Is that true? If so... ALL JAVA OBJECT CONSTRCUTORS WORK ...
The fourth rule in information hiding says"Don't allow clients to know or invisibly affect a class's implementation details"There is an example given along with this which reads like so "For example, a client should not be able to alter an internal calculation's result by changing the state ...
i am doing a project about face and voice recognition..so if anyone can help me with my interface design for my applicationi don't really know how to design it ..thankxx
I'm in the research stage of my final year project which entails the development of a SVG authoring tool. The tool will allow the user to create graphics and save them as .svg files. The requirements of the tool are not fully defined yet but I would like your initial opinions on what direction ...
173 byte By
balteoa at 2007-9-29 12:58:24
Hello,Can anyone tell me where is the official sun document describing what J2ee 1.4 is made up of (what version of jsp, ejb, servlet, jms, etc.)Julien
400 byte By
rkippena at 2007-9-29 12:59:29
How many listeners is too many listeners?For example, curves on a screen:Should each curve have a listener?Should each control point of the curve have a listener?How do you know when to stop?(Basically this is working towards creating an undo / redo architecture). All user actions can be ...
923 byte By
abr007a at 2007-9-29 12:59:56
I am getting the following error.I have closed the connection as connection.close() still i am getting that errorthe code i written is:connection = DriverManager.getConnection(urlString, user, passwd); Statement stmt = connection.createStatement();ResultSet rs = stmt.executeQuery("select ...
In an architecture which uses JSPs as the presentation layer, and contains objects representing each table of an Oracle database (one object per table), should the connection processing be included in the JSPs, or should it be included within the method of each database object that prepares the ...
In an architecture which uses JSPs as the presentation layer, and contains objects representing each table of an Oracle database (one object per table), should the connection processing be included in the JSPs, or should it be included within the method of each database object that prepares the ...
If you are using the DAO pattern, you may be interested in this article.Advanced DAO Programming http://www.ibm.com/developerworks/library/j-dao/
I am looking for a Domain Model which I can download. It is no matter which kind it is as long as it is well designed and has solved a lot of different problems.It should have Business Objects like Article, Order and so on.I want to build a ERP framework so I need something for testing.Do you ...
329 byte By
gvr123a at 2007-9-29 13:26:15
I need to design a generic framework for Auditing.Is there any generic framework for Auditing like log4j is for Logging in J2EE Enterprise Application.pleas send any links or any information about Auditing Framework or any example j2ee application which implements auditing features.Thanks in ...
Hi,I briefly went through, 'UML user guide', and 'java patterns'. I also have some code to work on, So the concept that I am still not able to understand is about 'Use Cases'.I would like to derive use case from existing bunch of java classes which makes up a system. How do I identify the ...
Design Patterns: 'Program to an interface, not an implementation' and Factory Method.Hi All,I've 4 questions. And 1M thanks for your precious input. 1. OOAD steps:Requirement-->Use Cases-->Analysis Classes-->Sequence Diagrams-->CRC-->other UML diagrams if needed--> ...
Hi,I am a student and trying to tackle a problem a little better than we have to just for self learning. During are databases unit we had to play with JDBC to connect query and update a databaseNow I did this simply all in a main method and took a very procedural approach to this.(it was after ...
Hi all,We have to develop a application similar to our discussion forum. Which Design Pattern is more useful? Can u discuss the archietecture? We use J2EE except EJB.Thanks,Murali
I am struggling to understand the differences in transfer object, business objects and exactly how they fit into an architecture in my web application designs. For example, I am building a banner server and have the following classes ...Media- concrete class- Transfer object- only has get/set ...
1557 byte By
hdevaana at 2007-9-29 13:58:03
L.S,I would like some feedback on the code design strategy illustrated below. I'm wondering if this is a 'completely valid', 'acceptable though not preferred' or 'hideously evil' way of providing initialization for a singleton class:private Myclass() {super();//...try {String fileName = ...
1315 byte By
olmheima at 2007-9-29 14:03:27
Hi.I know this is off topic, but I need some feedback.My company is relativly new to J2EE. We are currently moving our existing application portfolio to J2EE from a two tier client-server architecture developed on Centura and Oracle. Our data model is pretty strong, and much of the domain logic ...
I have jdk1.4 on one machine and 1.3 on another machine. I would like to use 1.4 logging if 1.4 is available else custom logging. I have two LogUtil classes (LogUtil.java and LogUtil14.java). Depending on the situation I would like to use that particular logging. Unfortuantely, I have coded ...
248 byte By
ahgirla at 2007-9-29 14:06:06
may i know if flash can be place inside the java application?den wads the code for placing flash into the Jframe. is it possible? coz i dun seems to be able to find any code regarding it..thanks. i need to know it asap.. thanks
Hi,I was wondering what would be the most approproate way to modify the serviceLocator pattern (from the core j2ee patterns book) to handle multiple initialContext? I.e, how do I modify the ServiceLocator to get the home from multiple remote servers?Do I get the client to pass in the ...
413 byte By
2481572a at 2007-9-29 14:23:21
Hi All,I齰e the three modules in my application(Permissions, ConfigSys and Security). Each module has several class in j2ee patterns(DAO,Helper,Transfer object) and interfaces too. I齧 making a only diagram of class with DAOs, Helpers and TOs classes, but it very large, this way it齭 right or I齰e ...
How do you usually solve the following prloblem:I have a form (view - a JFrame with text fields) for entering data and an underlying object (data model). the form's text fields are mapped to the object's properties. for example, the object has props o.p1, o.p2 and o.p3 and the form has the ...