Methodology Section Index
How can I implement the MVC design pattern using JSP?
The MVC (Model View Controller) design pattern is a pattern/architecture that can be used by GUI's. It seperates the application's data, user interface and control logic into three separate entit...more
What are the four phases of RUP?
Inception, elaboration, construction and transition phases.
What is AOP?
AOP stands for aspect-oriented programming. It is yet another programming methodology. AspectJ is an aspect-oriented extension to the Java programming language. See What is AspectJ? for more infor...more
What is RUP?
RUP is short for Rational Unified Process. It is yet another software development process. See the Wikipedia entry at http://en.wikipedia.org/wiki/RUP for more information on the process.more
Is there a pattern to avoid many if else if / switch conditions.
Is there a pattern to avoid many if else if / switch conditions
Say I have a javaBean with 4 string attributes say XXX and also the corresponding setXXX() and getXXX()
In my application I have an...more
How is JDO different from VO ?
JDO is a persistence technology that competes against entity beans in enterprise application development. It allows you to create POJOs (plain old java objects) and persist them to the database - ...more
What is session facade?
Session facade is one design pattern that is often used while developing enterprise applications.
It is implemented as a higher level component (i.e.: Session EJB), and it contains all the iteract...more
Is there some kind of Design pattern which would make it possible to use the Same code base in EJB and non EJB context?
A good suggestion would be using Delegation
class PieceOfCode {
public Object myMethod() {}
}
class EJBImpl ... {
PieceOfCode poc = new PieceOfCode();
public Object myMethod() {
...more
What is the best way to generate a universally unique object ID? Do I need to use an external resource like a file or database, or can I do it all in memory?
[I need to generate unique id's that will be used for node 'ID' attribute values within XML documents. This id must be unique system-wide. The generator must be available to a number of servlets t...more
How can I maintain a single instance of an object in an applet?
In start(), instead of always creating a new object, return the existing one if it exists or create a new one if it doesn't.
Are there any open source/free UML tools for Java developers?
Open-source / free tools:
ArgoUML
http://www.argouml.org/
JUG - Java UML Generator
http://jug.sourceforge.net/
UML Modeller (KDE app for Linux)
http://sourceforge.net/projects/uml...more
I believe the major problem with pair programming is that it makes the client think that 2 people are working one a task that should be done 1 person instead. What can I say to the client to convince them peer programming actually boosts productivity?
I guess that in these cost saving times, one PC is possibly attractive? :o)
Seriously, I think that if you can get some stats regarding reduced faults in pair programmed code, that may work. I thi...more
What is XP?
Xp is a revolutionary, new software
development methodology developed by OO Guru Kent
Beck.
Ron Jeffries, the editor of XProgramming.com,
describes the
12 key XP practices as follows:
The Pla...more
Where can I find market statistics on Java and Java developers? Things like number of developers, various industry segments, Java usage growth projections, etc....
Check out the Judging Java report at DevX. IDC had some numbers in 2000, for JavaOne, but to the best of my knowledge hasn't updated since the 2.5 million developers then (and 4 mil by 2003).more
What are the plans to represent a Java throws signature element in a UML method signature and how should I represent a Java throws signature element in a UML method signature?
As far as official plans, you'll have to get word directly from someone on the UML 2.0 committee at the OMG - of which I am not (said with a sign of relief :-)
Looking at Grady's book (UML User's...more