171 byte By
jyc5131 at 2007-9-27 19:58:41
I am chinese ,live in shanghai.I eager to get know to more foreign friend,so we can share the technology.if you are agree ,please leave your MSN mail address.thanks
123 byte By
hsg4 at 2007-9-27 20:01:52
Can anyone suggest other modelling languages that have been used either today or in the past and their pros and cons
357 byte By
neha5 at 2007-9-27 20:09:53
hi,I have downloaded j2sdkee-1.3.1 in c drive.set the path to j2sdkee-1.3.1\bin.ant's bin directory and jdk bin directory are already in the path.now when i try to run j2ee -verbose at the command prompt i am getting j2ee is not an internal or external command.plz help.Thanks and ...
81 byte By
hsg4 at 2007-9-27 20:12:19
what is the difference between structred and object orientated programming
Hi guys,I m very much interested in java and SQL, can any body guide me that is there any certification for java+SQL or java+SQLServer2000, and does is worth to get these kind of certification now days.I will really appreciate you comments.Regardsdanial
154 byte By
vincmac at 2007-9-27 20:33:53
Hi,Could somebody explain to me the difference between aggregation and composition since they are both has a relationships as far as I know.
313 byte By
maxcaleb at 2007-9-27 20:34:45
I am developing an application using MVC, and was wondering if it appropriate to use the singleton pattern on certain views, such as modal dialogs. It seems to me that this would make the code simpler and easier to read. What would be the advantages/disadvantages of this? Thanks for any ...
331 byte By
gbilios at 2007-9-27 20:36:41
I have written a Servlet that needs a class to load the files and the class definitions. Basically, I have a class Config that will retrieve rows of data from a MySQL database and then populate the variables to the appropriate classes. Would a ClassLoader do the job?If not, what is the ideal ...
361 byte By
GuptaB at 2007-9-27 20:50:41
Hi I notice that the ServiceLocator Pattern is implemented as a singleton when used in the client or web-tier and caches the home objects.However, when used in the ejb tier, the ServiceLocator pattern is not implemented as a singleton and does not cache home objects.Are there any specific ...
hello i am familiar with the mvc structure in the web layer,but i wonder how can i implement the mvc struction in the ejb layer. i can use the stateless session bean as the controller,but in the web layer,i can use the url to identify the different request,and path information,but in the ejb ...
2655 byte By
kotianvj at 2007-9-27 21:02:00
Here is the factory pattern I have implemented. I want to know, exactly which pattern this belongs to. I liked this. Comments and suggestions are welcome./////////////////////////////////////////////////////////////// ViewFactory.java// Implementation of the Class ViewFactory// Generated by ...
136 byte By
davito13 at 2007-9-27 21:03:29
I磀 like to buy some books about java & UML..Can you recomend me any, please?thanks!DavidArgentina
Plz tell me what are main features and points of oop.
1186 byte By
ajwink at 2007-9-27 21:10:53
We are starting a new J2EE project for a personnel system in my office. Obviously certain users will have read and some read/write on our main personnel bean. Our problem occurs when we want to give a person write permission on a person in an office. In other words I can make write changes to ...
850 byte By
Puce at 2007-9-27 21:14:09
Hi,how can I XMLEncode an element of a typesafe enum (see typesafe enum pattern).I've tried to implement Serializable and to specify following methods:private Object writeReplace() throws ObjectStreamException{return BAR_REPLACE } private Object readResolve() throws ...
Does anybody know of a tool that allows you to draw multiple packages on one diagram, draw the classes inside them and then show associations between the classes?I currently use Together but it doesn't visually display the classes it just list the class names.
Hello,I am pondering the scenario of using object oriented programming and filling a report efficiently. I am hoping someone could provide insight or direct me to existing patterns.Let's say I want to create a report of all employees. Great, my first thought is have a Employee class and ...
172 byte By
kasayahk at 2007-9-27 21:21:04
How to configure J2EE to use MSSQL2000?Where i can find related tutorial or documents?I can not find any reference in J2EE Online TutorialThanks
Can someone explain the different steps we follow while designing a project using OOAD and UML.Thanks to all of you.Satya
298 byte By
al0701 at 2007-9-27 21:23:53
I would like to know that if I have a constructor of class or some methods which declare new instance of the other class, the first class will be associated with the other class.For exampleclass A{A(int tmp){ B b = new B();}} class
Ciao,I'm working in an analysis to investigate how much time it will take to develop e new J2EE project. With my colleagues we are analysing all the features this solution will have and then we try to imagine what kind of architecture will be suitable in order to better implement it; but when ...
80 byte By
katroxi at 2007-9-27 21:42:33
Can anyone help me on how to convert int to string?Thanks,Q
HiI am developing a book store app using J2EE.It works fine with single thread but when there are mutiple threads running concurrently, my stock table in cloudscape database is not getting updated properly.For an instance, if I run 2 threads, each purchasing a same book, the stock holding ...
221 byte By
sullis at 2007-9-27 21:51:59
Can anybody provide some real-world implementation examples of the DAO pattern?I already looked at Sun's Java Petstore. They use DAO only for read-only database queries.DAO: http://jinx.swiki.net/282
Hi guys, I have some question about J2EE and EJB. Can you help to solve them, please?Question 1). IS EJB using the Remote Method Invocation technology?Then what are the advantages and disadvantages of it?Question 2). What are the advantages and disadvantages of EJB?Question 3). What is J2EE ...
hi,How to represent inner class in UML.Thanks in advanceBest RegardsRamu
689 byte By
iruvuri at 2007-9-27 22:12:50
hello ,iam working on project where i have subsytem called focus management , which has to control focus on the screen . we dont use awt or swing for the focus management . this focus is maintaining the focus on the screen and also need to maintain the details of the components where the focus ...
607 byte By
Flawe at 2007-9-27 22:15:37
stupid question maybe but i'm a beginner, and hey..there are no stupid questions, right? well, i may prove that wrong...anyway...I can't relocate a button, or any other component for that matter. When I try to make a simple applet with just one button showing, then it works perfect...but when ...
Hi to alll.Can any of you to tell me some url for abstract classes code sample and tutorial?ThanksCata
114 byte By
ViAGRA at 2007-9-27 22:22:22
Anyone have any suggestions on how software can be reused with Java design patterns? Any concrete examples?
Hi, I am a great enthusiast of object oriented concepts and Java. Currently I want to do a "Web search Engine" using JSP, Java and MySQL on Linux Platform. Can anybody refer me examples and resources of OOAD/unified process, implemented in web scenarios.Looking forward for your valuable ...
95 byte By
liu8421 at 2007-9-27 22:28:19
Now, I use Rational Rose 2002.But I can't integrate it with JBuilder7.0.Help me!
187 byte By
valjok at 2007-9-27 22:31:02
getItem(index or name): when to throw an exception when to return null?getIndex(Item): when to return -1 when exception?Is it better to have two versions of a method?
706 byte By
postb99 at 2007-9-27 22:47:57
Hi, I read some pages over the internet but it's still not clear to me : when do I have to use .war and when .ear ? I have the following webapp structure (see below), created a .war out of it, does it follow J2EE standard ?The webapp is intended to be deployed at one client's, and anyway ...
2859 byte By
ANSI2002 at 2007-9-27 22:48:13
I have a database which holds all my user information including login credentials (username, password)...Here is how I thought of doing it...Create a container managed entity of the table which holds the login credentials. Implement a custom finder method using ejb-ql, which in turn returns the ...
129 byte By
boruvek at 2007-9-27 22:56:12
Could you recommend me any good online library of design patterns with java examples?Type it down! :)Thanks.
111 byte By
jkies00 at 2007-9-27 22:56:39
in a webapp, is there a jsp way to open a new browser window? i'd like to avoid javascript if i can....
287 byte By
Aslow1a at 2007-9-27 23:11:57
Is there any way of sending unsolicited messages from the server side in a J2EE application.I am writing an application that needs to be able to send a message to one or more client programs, at some point not controlled by any one client. please help.thanks.
284 byte By
kinnua at 2007-9-27 23:18:54
Hi All,I am going to develop an web-application. I am looking for appropriate technologies for my project. Can anyone suggest me the advantages and disadvantages of MVC architecture. Please help...I am using jsp,beans and oracle8i for my project with iplanet web server.
598 byte By
venu01a at 2007-9-27 23:20:34
Hi Gurus,I have to display some thousands of records to the user, which obviously comes from the database. I don't want to load the session with huge Vector or ArrayList.Now i want to know the following things:1. Is there any pattern to cache/retrive the objects in fast and efficient manner?2. ...
Hello all, first time posting. I'm working on my senior project and my partner and I are creating a sales and information system for one of our college departments. However we are aproaching this from an OO design standpoint. Part of the functionality of this program is to be able to quickly ...
Can someone explain the difference between Unidirection association and Bidirectional association.An example will be a great help....Thanx to all of you.Satya
1017 byte By
malrawia at 2007-9-27 23:38:09
hi everyone .. i have this class which is singleton public class single{private static single onlyOne;private single(int arg1){....}public static synchronized single getInstance(int arg2){if (onlyOne == null)onlyOne = new single(arg2);return;}}this class compiles without any problem .. my ...
The program will consist of three classes: Student, ArrayListWrapper, and Demo. Demo will have the main method. These classes will not be related by inheritance. All classes will be in onepackage, with a name of your choice.Class Student will have the following object fields:Name, ...
We need an Design For teh Following Application in Java.The Current Application Where a File of Size 0.5 MB Will be Tranfering across the net work.Source --Central Server -Local Server End Clients- is Bidirectional Link(here Local server acts as both as Server and as client)1.Source initiates a ...
A typical Enterprise Java Bean consists of a -EJB Home, -EJB Interface-EJB bean classIn a client-server environment that's NOT an Enterprise Java Bean or running on an Application Server but instead just a java application that runs on the server, why would someone follow a similiar structure ...
375 byte By
gmundea at 2007-9-28 0:01:08
I have just embarked on the facinating world of J2EE. My questions are very simple: Why would I use a BusinessDelegate pattern? What is it and why have this extra tier?Finally, why would I use a Value Object? What are they? How would I use them in practice?As you can see I am a total novice and ...
199 byte By
ever79a at 2007-9-28 0:06:44
HiNow I've some problem in mapping my class hierarchy in relational database table.How to express inheritance relationship in database?Any advice appreciatedvictor
Anyone one please have a knowledge about design and develop client-server code in jave,which would model a typical ordering system of books as seen in large book stores.could you even aim me to any topics u can find it's useful to read.your co-operation is appriciated.thanks ...
409 byte By
MoSta at 2007-9-28 0:23:51
hi i am new in Java ...i am developing a clint-server program with javathe clint and the server will run on the same PC (it's a student project)i need to know about the available methods to store data in the server's database ..i've got an idea about using arrays, but if there is any other ...