339 byte By
nmorkara at 2007-9-28 18:18:03
HiCan any one help mei install the j2ee i have jdk 1.4 versioni set the JAVA_HOME & J2EE_HOME path alsobut when i run j2ee.bat i got the folloing errorFatal Error: This J2EE SDK release runs only on Java 2 (JDK1.2 or later)so any one solved my problemRegards ...
2620 byte By
Lita at 2007-9-28 18:22:13
after installation it worked just perfect. yesterday something happened, no idea what, and now it doesn't want to start anymore. it says: "Unable to create ORB. Possible causes include TCP/IP ports in use by another process". Well i tried to change it to 1049, 1051, 10590 and so on. No result: ...
Hi.Sorry to post IBM product specifice question here. I didn't know where else to put it.I need to deploy J2EE appl using CMP beans to WebSphere Application Server version5 to use remote database(DB2) within LAN.I have no idea to where to begin and what to look for.Can anyone guide me ...
201 byte By
sallua at 2007-9-28 18:28:13
hey,I want some light into whether DAO should directly map on DB tables or not ? should there be DAO classes for each table in db ? If not what are the different strategies ?thanks
we develop intranet application, and on the server side we decided to use CMP entity beans as persistence layer. but we have now some problems how to impement sorting/filtering at client side. for expample you can see a list of cars on page in table with some columns user should have ...
I was trying to make a small ejb application work. I made a jar file called Inventory.jar as said in the training documentation(JGURU inro to EJB). I get an error saying that it is not a valid EJB jar file. Any ideas.
When it comes to EJB many people say it is a lot of overhead and we keep away from it. JSP and servlets solve all our business problems. I think EJB brings a lot of discipline to your code and should be used for all your transactional purposes. The pattern can be like JSP - Java Bean - Servlet ...
I have an EJB that runs a query on a backend database and i want to return the data back to my Java GUI. Ideally i would like to pass a ResultSet back but i don't think they are serialisable so this isn't an option. What's considered the best way to pass database results back from EJB's to ...
1199 byte By
addemana at 2007-9-28 18:37:16
Hi!I'm developing a 2-tier system. The architecture is divided into 4 logically separated layers (presentation, middle, business, integration). The system is developed under J2SDK and should at a later point be converted to 3-tier and EJB's.I've created a domain model over the system and ...
Hi there,I'm currently attempting to learn OOSAD. I'm trying to design a use case diagram for ski equipment hire company, problems are arising.The system has to deal with customer records,generation of statistical reports,hires and returns. I'm finding it difficult to draw the line detail ...
2213 byte By
baivaba at 2007-9-28 18:40:14
Let's consider this situation here:Because of business functionality A, I need to contact DB table:DB1For functionality B, I need to contact DB table:DB2Tomorrow, I may have func. C, for which I might need DB table:DB3What I want is for a central class (CClass) I call another class ...
316 byte By
rak78a at 2007-9-28 18:46:13
hi gurus ...I have 2 questions with regards to UML modelling. Someone told me that there is a symbol called 'fork' used with association diagrams. I haven't heard about such symbol. plz explain in brief. Further, what is dynamic concurrency and how can we show it through UML ...
6377 byte By
HowesJLa at 2007-9-28 18:52:24
It's been just over a year since I first started using J2EE. Oh...all that good stuff about separating presentation from business logic, automatic load balancing, clustering, hot updates, J2EE promised it all and man was I excited.Sure wish I knew then what I know now, because J2EE is an ...
689 byte By
malrawia at 2007-9-28 18:52:35
i have 3 questions 1. the strategy as i understand is a common interface being implemented by more than one class .. and there is a class (which is the strategy) that will instanciate one object of one of those classes (that implement the interface) everytime called.. did i understand the ...
99 byte By
rup_nca at 2007-9-28 18:58:36
HiCan any body explain what does process affinity means...regardsrupesh
hey guys,I am wondering which diagram is more suitable for u guys. the sequence Diagrams or COllaboration diagrams.. I am wondering both are samething but show different result. But lucky, there are pprogram that can convert both diagram. Anwyay my question, what kinds of diagram u prefer while ...
Hi all.In my application, I have many webapps (.war files). I don't know if this point is important, but I work with BEA Weblogic 6.1.I need to propagate values from one webapp to another. In other words, I need to keep data during the users' browsing, even when they go from one webapp to ...
One of my request can return a large number of records. A bit like this forum where you have only a small number of topics per page, I'll have to create web page where you can navigate between pages of data.As I suppose many of the users won't even bother to go to pages beyond the first one, ...
1129 byte By
alwan87a at 2007-9-28 19:14:29
I am trying to design a Room Reservation System for a hotel using EJB. But im facing some problems regarding how many EJBs there should be?br>I decided to have following design1. HotelClerkBean:Reserve RoomCancel ReservationCalculate Total Bill. etc2. Room Bean: represents a hotel room. A ...
I get the follow message, when i try to generate default sql, on a entity bean , on deploytool.java.sql.SQLexception: No suitable driver.How can i do?
690 byte By
immy12a at 2007-9-28 19:16:59
Hi guys i have a class diagram for a lottery Application.I have the following classesballball containersimulatorboarddrawmachineI have a relationship between ball and ball container, in this relationship i have the dark diamond next to the ball container. So does that mean if i deleted an ...
251 byte By
ramc352a at 2007-9-28 19:21:33
Hi,Can anybody tell me in case of a Statefull session bean, where the client session's data is stored....Please tell me in detail....i.e., if it is saved in the memory cache where and how like that?Thanks in advance,Ram...
Hi All,I am working on a J2EE application which uses iPlanet as web server and Websphere as app server. The developments are done in Visual Age for Java 3.5.3 and the deployed code as well as the other related classes used to be exported to the above servers. The database used for the ...
845 byte By
ramc352a at 2007-9-28 19:21:37
Hi,Actually I am designing a group of JSP's which will connect to the EJB server in every successive screens....I am Looking up for the bean every time the JSP transfer control to the next page and although the code is working fine,I am not getting the expected result(i.e., the data comming ...
1789 byte By
ramc352a at 2007-9-28 19:26:41
Hi,We are developing one application in which at present we are in need of transactions with the XML file.All these days we were only reading from the XML file and passing it on to the client after processing it in our EJB server program..But, the present requirement wants us to do, not only ...
470 byte By
rak78a at 2007-9-28 19:27:30
hi guyz...I am using Rose 2000 for my projects modelling. For one of my project, I have typed pagefull of paragraphs for each of my use cases and actors in Rose. After designing classes and interfaces, when I generate documentation through rose, it only gives me the specs. of what I have ...
140 byte By
ash_ka at 2007-9-28 19:36:12
Hi,I could not find the ejb discussion forum link on http://forum.java.sun.com . Is it been removed.RegdsAshwani
172 byte By
ash_ka at 2007-9-28 19:36:13
hi,I want to know best practise for populateing combo boxes(from Db) in jsp pages. Should I user session facade or directly go to DAO.TIAAshwani
267 byte By
mangima at 2007-9-28 19:36:33
I am going to analyse and improve an existing sofware.Is there a tool to list methods and classes that are called when an activity on this software is begun?I have source doce but I do not have UML for this project.best regardsMangi
52 byte By
javap10a at 2007-9-28 19:36:48
I am wondering how this is done?Thanks
172 byte By
piyocpya at 2007-9-28 19:39:21
Anyone know how to design a Pacman game by using OOP with Java?Especially the part that control pacman and ghost move.I have no idea at all. Pls help!!
1081 byte By
borbjoa at 2007-9-28 19:43:06
I've got a object called CacheController sitting in the between my DataAccess object (which loads data from the database) / ResourceLoader (which loads images etc.) and the main application requesting the information.This cache object contains the following TreeMaps;private TreeMap ...
Hi,I'm faced with the following straightforward problem, but I'm having trouble coming up with a design solution. Any suggestions?Two items in the database can be related in three possible ways (temp replacement, permanent replacement, substitute). Each item has three possible stock levels. ...
3370 byte By
Mumblea at 2007-9-28 19:59:09
We are building an OO system with a database back end and I seem to come across the same problem with design a number of times.Say we have an object 'Transaction'. Each Transaction can be one of three types, Debit, Credit, Receipt. The database has a table of TransTypes, with three entries. ...
Hi, I am having some trouble inheriting from a Singleton class.I have a parent singleton class that looks like:public class ProviewReportQueryWin{private static ProviewReportQueryWin proviewReportQueryWin = null;...protected ProviewReportQueryWin(final ProviewReportGUI gui){...}public static ...
HelloSomeone know the free download software which generate class diagram by source fileor class filethankx in advance
What is the Difference Between MVC and Structs.As i know Struts is the advanced Version of Structs.But What makes Struts more convenient that MVC ?
What is the Difference Between MVC and Struts.As i know Struts is the advanced Version of MVC.But What makes Struts more convenient that MVC ?
What is a Facade?
613 byte By
Hyayana at 2007-9-28 20:07:20
I am confused about the Factory in OOD world.Let's say I have class A, of course, I should be able to have instance of A.If I also let A serve as a "Factory" of class A, which means I make A have the ablility to create all of possible instances of A. Will this break any rule of the OO idea of ...
489 byte By
stfndlna at 2007-9-28 20:10:33
Hi,Could anyone refer me to a VERY GOOD example of a MVC application with database transaction?I am rather confused when to use a servlet or a jsp page. Also were to put the database transactions. I have been told that always goes into the javabeans but for some applications this is not always ...
I am currently reading the GOF book 'Design Patterns'.I was wondering if anyone could point me to a good book,or online link where GOF patterns are identified in theJ2SE/J2EE packages?For example, the Decorator pattern appears to form the basisof the java.io package?Iterator is obviously the ...
658 byte By
tikrama at 2007-9-28 20:15:35
Hi,I have a search page through whcih a user can search the database for results.There are around 30 different criteria on the basis of which search can be done, and the user can use any combination of these criteria(one or more).Whatever the user chooses would be a 'like' search.I am ...
Is there a multi language pattern existing?We build a ERP software with a framework which is on top of EJB. The applications have to support multi language since the applications will be used in different countries.For example there is an Article value object which has an attribute ...
when in analyse phase, we use BCE to represent three kinds of classes. but is this entity equals to EJB? I'm confused at this point. because I think a entity here only means an object. information of this object may be saved to RDBMS, but it's only an object in memory now. writing to RDBMS ...
863 byte By
paan130a at 2007-9-28 20:27:57
Hi. I'm now working on a rather large database project and database that this program use is consist of more than 15 tables. I found myself writing a method for handle query like searching for a product or finding a customer over and over again. For example in the program's product search ...
Hi!Let's we have one of the next classes in AbstractDesign patterns:1.WindowFactory - abstract factory2.MotifWindowFactory, MacWindowFactory - concrete factory3.Window - abstract product4.MotifWindow, MacWindow - concrete products5.Client - client class6.ClientCreator - class that creates our ...
I am trying to figure out methods for refactoring webapps. All ways to improve any webapp at any stage of development. I found these so far:1) Extracting HTML code2) Split view3) HTML decomposition4) Extracting template5) Extracting domain model6) Extracting actionsSome of them comes from the ...
Hi All,Here's our scenario:1) We have a network whose nodes are all server-capable.2) A dedicated server is not possible.3) Only one node can act as a server at any one time.4) The nodes are actually operators' terminal (eg, with data entry/editing facility).5) When the active server goes ...
606 byte By
cucu78a at 2007-9-28 20:40:09
I'd like to do something that would be well done with multiple inheritance, but not with interfaces:I have a class HumanPlayer and ComputerPlayer, and I have two types of players, one that guesses and the other that gives answers, so they are quite different, so I have PlayerKindA and ...