Use case representation of authorization

427 byte By psp_prasada at 2007-9-28 11:37:34
Hi,Can the authorization be respresented as an use case.I found a checke privileges usecase in the uml examples site. The checking of privileges is internal to the system and the user has got nothing to do with it. As per the use case definition, one complete business interaction between the ...

how do you make your objects interact with each other?

542 byte By mickeyRENa at 2007-9-28 11:40:45
hi,okey, all my application defined classes/objects are all instantiated on my main class' constructor(ie, the class that has the main() function)but a lot of times, my own defined objects needs each other.., so how do i exatly tell my main class to return an object since i instantiated my ...

sequence diagram to classes diagram transition

590 byte By psp_prasada at 2007-9-28 11:45:28
On identifying the usecases and their relationships in the sytem, we moved to sequence diagrams. Generally the sequence diagrams are the visual representations of the descriptions provided for each usecase. Now the problem is how to derive classes from sequence diagrams.It would be easier to ...

Connecting Microsoft IIS web server to J2EE application server

244 byte By onlysammya at 2007-9-28 11:45:34
Hello Sir,Is it possible to Connect Microsoft IIS Web Server to J2EE Application server....if yes can anybody tell me how it is done.....Any suggestion or something that will help me is appreciated...ThanksSam

Class without member variables

438 byte By arunbhatKa at 2007-9-28 11:52:08
Is there any rule against having a class without member variables?That is there is a class A and it has a set of functionality which qualifies being put in a separate class B. each time the method(s) of this class B are invoked we pass the parameters on which the method operates.Actually the ...

Howmany use cases

1420 byte By psp_prasada at 2007-9-28 11:55:38
This is an excerpt from "UML Distilled" by Martin Fowler & Kendall scott(pageno.47)"How many use cases should you have?During a recent OOPSLA panel discussion, several use case experts said that for a 10-person-year project, they would expect around a dozen use cases. These are base use ...

software distribution pattern?

238 byte By asjfa at 2007-9-28 12:00:02
hi, is there a standard way in j2ee for distributing files? I'd like to deliver some (non java) software over the internet and don't want to reinvent the wheel in terms of security, roll-back etc..thanks,asjf

singleton pattern vs Static class

243 byte By choudhsaa at 2007-9-28 12:03:08
Why do we implement the singleton design pattern even if we get the same features by making a class members and methods static?Please help me out to understand the difference between these two.ThanksSachin Choudhari

Hi - A Class Design Doubt

668 byte By saju_ma at 2007-9-28 12:06:28
hi i'm new to class designs - pls help to get the good solution.i'm having 2 classed Customer and CategoryCustomer Contains...CustomerId,CustomerNameCategory ContainsCategoryId, Desc. i've to design a class in a way that i've to specify the category of the customer. is it feasible to add a ...

must the service locator a singleton?

2904 byte By zhebinconga at 2007-9-28 12:17:02
from the "java core pattern" book,i have learned that the service locator is a singleton,but when i downloaded the petstore1.3.1_01 and opened the source code,i find the web tier locator is a singleton,but the ejb tier locator is not a singleton,why?the ejb tier locator as:package ...

Domain modelling

656 byte By tingdoga at 2007-9-28 12:18:35
Categorise the following relationship into generalization, compositionaggregation or association.Beware,there may be ternary or n-ary association in the list,so do not assume every relationship involving threee or more objects is a generlisation . a. A country has a capital.b. A dining ...

J2EE with JSP

571 byte By vijayjavakumara at 2007-9-28 12:23:08
Hi,Anybody can help meHow should call JSP instead of invoking client class on EJB?.(i.e. we deployed at J2EE server our EJB Application as a jar,after that we call business methods by using that like thisjava -classpath %CLASSPATH%;CITYClient.jar project.bmpaccount.ClientInstead of that JSP ...

Singleton vs JNDI vs ?

735 byte By sunseara at 2007-9-28 12:29:57
Hey guys,A question. In designing our application we needed a place to store a few arrays that never change, some setting that never change and some other stuff. I'd initially thought of using a singleton for this purpose. This however messes up my plan of using one jar-file for several ...

i need help , Sequence and collaboration diagram

871 byte By tingdoga at 2007-9-28 12:31:28
Hello,everybody,i am a beginner of UML, Would anyone like to help me draw a sequence diagram and a collaboration diagram representing thefollowing scenario ? i have drawn two diagrams but my knowledge is limited so it is hard to draw good diagrams.You may use Poisedon 5.1 UML to draw the ...

Does GRASP patterns come under Design Patterns Category?

997 byte By mahi18a at 2007-9-28 12:35:37
Hi there!I am bit confused with the division or categories of Patterns.Does GRASP Patterns (General Responsibility Assignment Software Patterns - catalogued by Craig Larman) come under the group of Design Patterns?I got confused when I read somewhere that - Design patterns are the patterns ...

Inserting a tree of value objects

2274 byte By cyboca at 2007-9-28 12:37:13
Let's say I have these entities in my database:PersonpersonId (PK)firstNamelastNamePhoneNumber--phoneNumberId (PK)numberdescriptionpersonId (FK referencing Person entity)I have a PersonValueObject class with the following attributes:Integer personIdString firstNameString lastNameCollection ...

Class design help

573 byte By Jinoa at 2007-9-28 12:40:40
Im using an ftp package to make a download manager that monitors download in a JTable. I have a class called FtpDownload that is a thread that performed the actual download. It implements observable so i can update the table model... a url is passed the the constructor and it begins download. I ...

Beginners design/patterns question

382 byte By Dean_Reedya at 2007-9-28 12:43:53
I would like to find more out about the following, maybe a simple overiview with examples or a beginners-experts explaination.I am looking at the idea of:Program consisting of:GUI LayerBusiness logic layerDatabase layerI am looking at ways to implement this. Any ideas to start would be greatly ...

J2EE Server is a Developement Server!!!!!!!!!!!!!!!!!!

246 byte By vijayjavakumara at 2007-9-28 12:51:24
Hi guysUrgent! Can we use J2EE server as a RealTImeEnvironment Develpoement?.if so give some tipsif not so pls give why?and what is reason?.i think compare with JBOss,it is better to use.with vijay

Design question: Scheduling a Variable-timeslot Resource

3112 byte By mwardena at 2007-9-28 12:55:40
I originally posted this in general java programming, because this seemed like a more high-level design descussion. But now I see some class design questions. Please excuse me if this thread does not belong here (this is my first time using the forum, save answering a couple questions).Forum,I ...

Environment entries, thread and Initial Context

3362 byte By gdascoa at 2007-9-28 12:58:38
Here is my web.xml file<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" ...

Worked out Example for MVC ?

127 byte By iwouldliketoknowthingsa at 2007-9-28 13:00:35
Is there any Worked out example which can be used to quickly get into what the MVC Architechure is and How its working ?

Tools which build automatically Collaboration and Sequence Diagrams?

1839 byte By quereinsteigera at 2007-9-28 13:08:23
Are there tools which can automaticaly build a Collaboration or a Sequence diagram by analysing the code? It must be possible in my opinion.I am working a little bit with the Websphere Studio Applicatin Developer 5 (WSAD 5) plugin from Together. It supports UML 2 Collaboration diagrams which ...

deploy JSP/Servlet along with EJB

2449 byte By vijayjavakumara at 2007-9-28 13:14:50
how could deploy EJB with JSP/Servlet?.First i havepackage project.account1.HomeInterface class2.RemoteInterface class3.Bean class4.Client classI deployed the above bean in J2EE using Deploytool GUI.run the client like thisjava -classpath %CLASSPATH%;personDepClientClient.jar ...

Pattern for popup menu management?

808 byte By ljnelsona at 2007-9-28 13:19:00
Yes, this is a GUI-specific design question, but I'm more interested in the general pattern.My basic question: who should own the construction and management of popup menus ("context menus") for a given component?A. The enclosing JFrame, or something at that level.B. The enclosing component ...

J2EE & Intermittent Connectivity

1100 byte By gbishopa at 2007-9-28 13:19:04
We have an existing J2EE application. We have acquired a company that does not have connectivity at its sales sites - in Mexico (they go to people's homes). We have to have these people be able to use our J2EE application.How, short of putting Tomcat on their PC's (my initial suggestion) can ...

Business Delegates suitable for non-EJB apps?

996 byte By s_locka at 2007-9-28 13:29:05
Hi,In EJB based applications, the Business Delegate pattern acts as a proxy for web-tier <> EJB-tier calls and hides the implementation details of the business layer code. But what about non-EJB applications? Some of the benefits gained from using the Business Delegate pattern (hiding ...

Generic Security

815 byte By gselvaraa at 2007-9-28 13:31:04
Hi,***This is my problem. In my system I have users, groups and privilages. The system has to be able to give privilages to groups and assign users to those groups. Now this has be independant of any App server and must be done from a system GUI. This is so that I should be able to port it to ...

j2ee and cloudscape

246 byte By abhinavprakashmathura at 2007-9-28 13:34:33
How to connect j2ee and cloudscapeDB using servlets ?I am getting a Driver error whenever I try to access cloudscapeDB from from a servlet on j2ee.I have Mandrake Linux as the OS.Please helpAbhinav

use case diagram from a novice

1162 byte By sn_chandana at 2007-9-28 13:38:00
hello to all,i have made a use case diagram for a UML diagram editor. i want to implement only the use-case diagram and class diagram in the editor.the diagram is completely unrefined.kindly comment over the same and suggest for a better use-case diagram...this will greately help me in my ...

Diff between framework and design pattern

140 byte By c_kamsa at 2007-9-28 13:40:52
Hi,Can anyone plz tell me clearly the difference between a J2EE desgin pattern & a J2EE framework.Thanx in advance.

Encapsulation, OO advice needed

2423 byte By fedetxfa at 2007-9-28 13:45:01
We are developing a java application to run on a PocketPC. There's a relational DB, and the objects come from there but we are not using a Object Relational mapper... We are using a simple framework taken from an article here http://www.javaworld.com/javaworld/jw-05-2002/jw-0524-sql_p.html so ...

Design UML !

1986 byte By stomridera at 2007-9-28 13:51:30
Cam anyone help me to design the UML for this project ? Thanks a lot !In your co-op job as an Operations Analyst for United Parcel Service (UPS), a large courier company, you have been asked to develop software that will assist the company in choosing routes for its trucks.Each truck leaves ...

Failed Calling Session Bean from JSP

4356 byte By jingz_sza at 2007-9-28 14:02:33
Hi, Could please anyone help me to resolve following question? Thanks in advance![Question Description]I have a session bean, which uses a lot of entity beans, and I have successfully called the session from another test bean. The session bean is created as following:<session bean> ...

confused over relationship between actors

486 byte By sn_chandana at 2007-9-28 14:04:05
hi ,i have three use-case diagrams having 1 user each who are actually the same actor. they are designer, usecaseDesigner and classDeisgner. i want to show the relationship between them.what relationship do they hold? will it be generalization or trace relationship.i have a uml diagram editor ...

java.lang.NoClassDefFoundError.AbsoluteLayout?

447 byte By qnzua at 2007-9-28 14:04:15
I install " Sun ONE Studio 4 Update 1 Enterprise Edition " . I run "JApplet"( programname ) with this forte4 successfully , but unsuccessfully run "JApplet.html" with IE5 . I get messege of errro : " java.lang.NoClassDefFoundError.org/netbeans/lib/awtextra/AbsoluteLayout " .I find that there ...

MVC concept ?

170 byte By patelashish_2000a at 2007-9-28 14:14:10
Hi I would like to know what actually is MVC architecture and when & where to use this ?Any example would be handy ...Thanks in advance...

Specifications for designing and coding

228 byte By johnmphillipsa at 2007-9-28 14:14:35
Maybe a stupid question but is there any documentation out there that helps an engineer learn and use the best object oriented design techniques. Also, is there one available in the area of coding techniques.thanks

portal design - please help me

505 byte By prabhakardhatarama at 2007-9-28 14:17:56
i have involved in designing a portal i got the specifications and i need to develop this usding jsp, servlets and mysql as backendi have started designing with uml use case diagramsplease any one help me how to proceed nextin designing what are the steps (drawing uml diagrams) to follow next ...

Question about DAO and DataSources?

553 byte By xdlilinga at 2007-9-28 14:23:12
Is it necessary that a DAO is associated with several DataSources?In general, a DAO serves as a business object. But what is your idea if you find the data of the business object come from two data sources? Just associat the data sources with the DAO? or split the DAO into two layer: two DAO ...

James Odell's Power Types

264 byte By bblfisha at 2007-9-28 14:26:14
In chapter 2 (Accountability) of Martin Fowler's Book "Analysis Patterns", Martin mentions James Odell's Power Types. I have been looking for more information on this and how it could be implemented in Java. Has anyone here come across Power Types?

Threads with many to one calls

1112 byte By cnz13a at 2007-9-28 14:35:29
Hi all,I'm designing an application in which I need to:1)query a database to get a list of orders, 2)create the documents and 3)print the documents.... and these repeat continuously. 2) and 3) have been developed. Now, the way I thought to model this is through a Controller class which should ...

Accessing methods not possible because of bad design

2220 byte By Onyaa at 2007-9-28 14:38:26
From within my BlueCleverColor run method I want to call the upDate() method of the different class ColorPanel. I can't make the upDate method static because "setBackground()" is not a static method.I find that when I encounter a situation where I want to use the method of another class and I ...

Java Exception Handling

864 byte By NovakAa at 2007-9-28 14:43:24
Hello everyone,I'm searching for a design pattern / framework to manage exception handling. I'm currently working on a distributed document management system for PC / AS/400, which consists of Commandline clients, a Socket Server and a windows NT daemon in java, which accepts network requests ...

Drawing an ER Diagram using Java

691 byte By elliottjaa at 2007-9-28 14:46:45
Hi,I expect you get this a lot but I'd be really greatful for some pointers towards my final year project.I'm creating a Java application that will draw an ER Diagram when pointed at a database.I've got the code sorted to query the database and sort out the entities and relationships but the ...

static method

318 byte By happy_wta at 2007-9-28 14:51:19
Hi,all:I notice that many methods of "String" class is non-static,which means each String object has such all methods copies when created.If an application uses many String objects,this design pattern of "String" class will consume much memory.Is this pattern good or bad?Thank ...

MVC Question

246 byte By ddcavelea at 2007-9-28 14:58:07
For a class project I have to make a game. In the game the player's lifepoints get updated at the end of the game. It takes the lifepoints at the start of the level + x. Should I put this function in the model (Hero) or in the controller?

UML and Service Locators

872 byte By coolpfeifa at 2007-9-28 14:58:44
I was wondering how much detail you should include when using...Servlet Controller to and EJB Controller to specific EJBs. You would probably want to use a Service Locator, but diagramming dependencies between the servlet controller to the ejb requires three dependencies with a service locator ...

Component Diagrams & Protocols

196 byte By coolpfeifa at 2007-9-28 14:59:27
Would if be appropriate to display a specific protocol on a component diagram? For example, HTTPS or IIOP between two J2EE Components (JSP and Servlet or JSP/EJB)? Thanks,Mark

Would you help me?

319 byte By happy_wta at 2007-9-28 14:59:31
Hi,all:I notice that many methods of "String" class is non-static,which means each String object has such all methods copies when created.If an application uses many String objects,this design pattern of "String" class will consume much memory.Is this pattern good or bad?Thank you!Benjamin ...