Re: Tools for J2EE Project
"Dmitri Colebatch" <[email protected]> Wed, 27 Mar 2002 13:41:45 +1100
| Newsgroups | gmane.comp.java.ejb.general |
|---|---|
| Message-ID | <009001c1d538$ef821890$d5dea8c0@nuixdim2k> |
what sort of testing would you like to see XDoclet support?
are you thinking something like
/**
* @ejb:interface-method
* @junit-j2ee ...
* @junit-j2ee parameter name="a" value="foo"
* @junit-j2ee parameter name="b" value="bar"
*/
public void myMethodToBeTested(String a, String b)
{
...
}
or what?
----- Original Message -----
From: "Francis Purcell" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 27, 2002 11:46 AM
Subject: RE: [EJB-Developer] Tools for J2EE Project
Wow, it's quite here...I wonder what's going on a JavaONE???
Anyway, totally agree with you, Mushtaq. JUnit is *the* tool for
testing... Jakarta Cactus is built on top of JUnit, and has a TestServlet
class which your test-case extends, such that your test case is running as
a servlet in a J2EE container, as compared to your test running as a simple
java client in a private test JVM. This is my prefreed way test EJBs,
since this Servlet 2 EJB scenario better represents how my EJBs are being used.
BTW, anyone know of any *free* test tools that will allow you to define
your tests via JavaDoc tags ala XDoclet? (I know of one tool whose name
escapes me , but said tool has a license fee & proprietary execution
environment attached). What about performance measuring tools for server
side components?
Cheers,
Frank
At 04:21 AM 3/26/2002 -0500, you wrote:
>Also JUnit for unit testing...
>
>www.junit.org
>
>Regards,
>Mushtaq
>
> > ----------
> > From: Francis Purcell[SMTP:[email protected]]
> > Reply To: [email protected]
> > Sent: Sunday, March 24, 2002 12:47 AM
> > To: [email protected]
> > Subject: Re: [EJB-Developer] Tools for J2EE Project
> >
> > Hi Sundar,
> >
> > Ant & XDoclet are requirements for everything J2EE I now do :
> >
> > Apache Ant -- of course...so many options in this thing, it's
> > unbelievable (my favorite lesser know options is being able to turn tabs
> > in
> > your source code into x-number of spaces). I'm pretty sure there are VSS
> > options native to Ant...if not, you may want to look at using CVS if at
> > all
> > possible.
> > XDoclet
> (<http://xdoclet.sourceforge.net)>http://xdoclet.sourceforge.net) --
> invaluable, especially when
> >
> > developing EJBs (I think there are tags for Orion, which I'd assume works
> > with Oracle...if not, someone either has templates they can give you, or
> > it
> > would be worth building your own).
> >
> > A good J2EE unit testing tool is Apache's Cactus, but I don't have enough
> > experience with it to call it a requirement. I too would like to know
> > what
> > other testing tools (especially performance testing) people are using...
> >
> > As to meeting a schedule without fail, I don't think I'm the best person
> > to
> > answer this question :-). I find inspiration in many extreme programming
> >
> > concepts around managing expectations, especially where you involve the
> > client to determine what the requirements are, and the developers in
> > determining how long each requirement will take...then negotiating with
> > the
> > client and letting them determine the trade offs between time and
> > functionality. Take a look at:
> >
> <http://www.c2.com/cgi/wiki?ExtremeProgrammingSummary>http://www.c2.com/cgi/wiki?ExtremeProgrammingSummary
> >
> > Good luck,
> > Frank
> >
> > p.s., In preparing for this project, I would allocate time for you and
> > your
> > developers to learn the tools. Don't just run through the examples that
> > come with the tools (unless you want to build a false sense of
> > confidence). Rather, take the examples and build new things on top of
> > them. Mimic what you are going to be doing on this project (servlets,
> > ejbs, etc...), and really exercise your knowledge of the tools (e.g., use
> > ant to create a build system full of build rules for your prototype ejbs &
> >
> > servlets; use XDoclet to create deployment descriptors and home/remote
> > interfaces for those prototypes; create a single rule in ant that builds
> > your code from scratch, starts your J2EE server, deploys your jar/war/ear,
> >
> > runs your unit test, strips any tabs in your code, and check the changes
> > into VSS, etc...). Knowing as much about how these things work (and how
> > they don't) before you enter panic mode is a big plus... BTW, there are
> > some pretty good presentation tools out there, and more coming out every
> > day (
> > advice, Oracle AS may do some things very very well, but it probably does
> > not do everything you need.
> >
> >
> > At 09:56 AM 3/23/2002 -0800, you wrote:
> >
> > >
> > >
> > >Dear Developers,
> > >
> > >I am about to lead a J2EE project. I would like to know a list of best
> > >tools that I should get hold of. As we are going with Oracle9i as the app
> >
> > >server. So for IDE we are going for JDeveloper. For Version control I am
> > >thinking to use Visual Source Safe. I would like to know the appropriate
> > >tools for Desinging, Project management, Testing including functional,
> > >load testing, performance testing. I would appriciate if U guys can give
> >
> > >inputs as how should I proceed managing the project as the cilent wants
> > us
> > >to meet the deadline without fail. Thanks in advance.
> > >
> > >Regards
> > >
> > >Sundar.
> > >>
> > >>
> > >
> > >
> > >Do You Yahoo!?
> > >Yahoo! Movies - coverage of the 74th Academy Awards®
> > >Yahoo! Groups Sponsor
> > >ADVERTISEMENT
> > ><
> > 6905:HM/A="7665/R==0/*
> > 63%3eM=!5002.1818248.3328688.1261774/D==egroupweb/S=05006905:HM/A="7665/R
> > ==1>6b928b.jpg
> > >6b933f.jpg
> > >
> > >EJB-Developer group email addresses:
> > > Post message: [email protected]
> > > Subscribe: [email protected]
> > > Unsubscribe: [email protected]
> > > List owner: [email protected]
> > >
> > >Our other technical discussion groups:
> > >- For general Java (J2EE) questions/answers:
> > ><<http://groups.yahoo.com/group/Java_Developer>http://groups.yahoo.com/
> group/Java_Developer>http://groups.yahoo.com/gro
> > up/Java_Developer
> > >- For peer-to-peer software development discussion:
> > ><<http://groups.yahoo.com/group/P2P-Developer>http://groups.yahoo.com/g
> roup/P2P-Developer>http://groups.yahoo.com/grou
> > p/P2P-Developer
> > >
> > >Web link to the EJB-Developer group:
> > >
> > ><<http://groups.yahoo.com/group/EJB-Developer>http://groups.yahoo.com/g
> roup/EJB-Developer>http://groups.yahoo.com/grou
> > p/EJB-Developer
> > >
> > >ATTENTION: You are receiving this message because you actively subscribed
> >
> > >to the EJB-Developer technical discussion group on Yahoo! Groups. All
> > >subscriptions come from Yahoo-verified email addresses and are logged;
> > >therefore subscriptions can be proved to any appropriate legal
> > >authority. To unsubscribe, send a blank email from the email address
> > >receiving group messages to the "Unsubscribe" email address shown
> > >above. If unsubscribing doesn't work, send a message concerning this
> > >problem to [email protected]. Only Yahoo! Groups is responsible
> > for
> > >their own subscription services; the moderator will not perform these
> > >services at any time.
> > >
> > >*** EJB-Developer - A free service brought to you by Democracy 2.0
> > >(www.democracy2.org) ***
> > >
> > >Your use of Yahoo! Groups is subject to the
> > ><<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>Y
> ahoo! Terms of Service.
> >
> >
> > EJB-Developer group email addresses:
> > Post message: [email protected]
> > Subscribe: [email protected]
> > Unsubscribe: [email protected]
> > List owner: [email protected]
> >
> > Our other technical discussion groups:
> > - For general Java (J2EE) questions/answers:
> >
> <http://groups.yahoo.com/group/Java_Developer>http://groups.yahoo.com/group/Java_Developer
> > - For peer-to-peer software development discussion:
> >
> <http://groups.yahoo.com/group/P2P-Developer>http://groups.yahoo.com/group/P2P-Developer
> >
> > Web link to the EJB-Developer group:
> >
> <http://groups.yahoo.com/group/EJB-Developer>http://groups.yahoo.com/group/EJB-Developer
> >
> > ATTENTION: You are receiving this message because you actively subscribed
> > to the EJB-Developer technical discussion group on Yahoo! Groups. All
> > subscriptions come from Yahoo-verified email addresses and are logged;
> > therefore subscriptions can be proved to any appropriate legal authority.
> > To unsubscribe, send a blank email from the email address receiving group
> > messages to the "Unsubscribe" email address shown above. If unsubscribing
> > doesn't work, send a message concerning this problem to
> > [email protected]. Only Yahoo! Groups is responsible for their own
> > subscription services; the moderator will not perform these services at
> > any time.
> >
> > *** EJB-Developer - A free service brought to you by Democracy 2.0
> > (www.democracy2.org) ***
> >
> > Your use of Yahoo! Groups is subject to
> <http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/
> >
> >
>
>
>Yahoo! Groups Sponsor
>ADVERTISEMENT
><http://rd.yahoo.com/M=213858.1879370.3379539.1261774/D=egroupweb/S=1705006905:HM/A=763352/R=0/*http://www.classmates.com/index.tf?
s=5085>c93e96c.jpg
>c93ea49.jpg
>
>EJB-Developer group email addresses:
> Post message: [email protected]
> Subscribe: [email protected]
> Unsubscribe: [email protected]
> List owner: [email protected]
>
>Our other technical discussion groups:
>- For general Java (J2EE) questions/answers:
><http://groups.yahoo.com/group/Java_Developer>http://groups.yahoo.com/group/Java_Developer
>- For peer-to-peer software development discussion:
><http://groups.yahoo.com/group/P2P-Developer>http://groups.yahoo.com/group/P2P-Developer
>
>Web link to the EJB-Developer group:
>
><http://groups.yahoo.com/group/EJB-Developer>http://groups.yahoo.com/group/EJB-Developer
>
>ATTENTION: You are receiving this message because you actively subscribed
>to the EJB-Developer technical discussion group on Yahoo! Groups. All
>subscriptions come from Yahoo-verified email addresses and are logged;
>therefore subscriptions can be proved to any appropriate legal
>authority. To unsubscribe, send a blank email from the email address
>receiving group messages to the "Unsubscribe" email address shown
>above. If unsubscribing doesn't work, send a message concerning this
>problem to [email protected]. Only Yahoo! Groups is responsible for
>their own subscription services; the moderator will not perform these
>services at any time.
>
>*** EJB-Developer - A free service brought to you by Democracy 2.0
>(www.democracy2.org) ***
>
>Your use of Yahoo! Groups is subject to the
><http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
--------------------------------------------------------------------------------
>