Re: Tools for J2EE Project
Francis Purcell <[email protected]> Wed, 27 Mar 2002 12:11:55 -0800
| Newsgroups | gmane.comp.java.ejb.general |
|---|---|
| Message-ID | <[email protected]> |
Exactly...do you know of such a tool, Dmitri?
BTW, ideally the tool would also read the ejb doclet tags to determine the=
=20
JNDI name of the bean, etc...and just generate a .java file that can be=20
executed...and if it created a Cactus servlet .java file, that would be=20
incredibly cool...
At 01:41 PM 3/27/2002 +1100, you wrote:
>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=3D"a" value=3D"foo"
> * @junit-j2ee parameter name=3D"b" value=3D"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 simpl=
e
>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=
=20
>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 t=
abs
> > > 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 w=
orks
> > > 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 en=
ough
> > > experience with it to call it a requirement. I too would like to kno=
w
> > > 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 per=
son
> > > to
> > > answer this question :-). I find inspiration in many extreme=20
> programming
> > >
> > > concepts around managing expectations, especially where you involve t=
he
> > > client to determine what the requirements are, and the developers in
> > > determining how long each requirement will take...then negotiating wi=
th
> > > the
> > > client and letting them determine the trade offs between time and
> > > functionality. Take a look at:
> > >
> >=20
> <http://www.c2.com/cgi/wiki?ExtremeProgrammingSummary>http://www.c2.com/c=
gi/wiki?ExtremeProgrammingSummary
> > >
> > > Good luck,
> > > Frank
> > >
> > > p.s., In preparing for this project, I would allocate time for you an=
d
> > > your
> > > developers to learn the tools. Don't just run through the examples t=
hat
> > > come with the tools (unless you want to build a false sense of
> > > confidence). Rather, take the examples and build new things on top o=
f
> > > 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=20
> ejbs &
> > >
> > > servlets; use XDoclet to create deployment descriptors and home/remot=
e
> > > interfaces for those prototypes; create a single rule in ant that bui=
lds
> > > your code from scratch, starts your J2EE server, deploys your=20
> jar/war/ear,
> > >
> > > runs your unit test, strips any tabs in your code, and check the chan=
ges
> > > 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 ev=
ery
> > > 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 be=
st
> > > >tools that I should get hold of. As we are going with Oracle9i as=20
> 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 appropr=
iate
> > > >tools for Desinging, Project management, Testing including functiona=
l,
> > > >load testing, performance testing. I would appriciate if U guys can=
=20
> give
> > >
> > > >inputs as how should I proceed managing the project as the cilent wa=
nts
> > > us
> > > >to meet the deadline without fail. Thanks in advance.
> > > >
> > > >Regards
> > > >
> > > >Sundar.
> > > >>
> > > >>
> > > >
> > > >
> > > >Do You Yahoo!?
> > > >Yahoo! Movies - coverage of the 74th Academy Awards=AE
> > > >Yahoo! Groups Sponsor
> > > >ADVERTISEMENT
> > > ><
> > > 6905:HM/A=3D"7665/R=3D=3D0/*
> > > 63%3eM=3D!5002.1818248.3328688.1261774/D=3D=3Degroupweb/S=3D05006905:=
HM/A=3D"7665/R
> > > =3D=3D1>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.c=
om/
> > 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.co=
m/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.co=
m/g
> > roup/EJB-Developer>http://groups.yahoo.com/grou
> > > p/EJB-Developer
> > > >
> > > >ATTENTION: You are receiving this message because you actively=20
> subscribed
> > >
> > > >to the EJB-Developer technical discussion group on Yahoo! Groups. A=
ll
> > > >subscriptions come from Yahoo-verified email addresses and are logge=
d;
> > > >therefore subscriptions can be proved to any appropriate legal
> > > >authority. To unsubscribe, send a blank email from the email addres=
s
> > > >receiving group messages to the "Unsubscribe" email address shown
> > > >above. If unsubscribing doesn't work, send a message concerning thi=
s
> > > >problem to [email protected]. Only Yahoo! Groups is responsib=
le
> > > for
> > > >their own subscription services; the moderator will not perform thes=
e
> > > >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:
> > >
> >=20
> <http://groups.yahoo.com/group/Java_Developer>http://groups.yahoo.com/gro=
up/Java_Developer
> > > - For peer-to-peer software development discussion:
> > >
> >=20
> <http://groups.yahoo.com/group/P2P-Developer>http://groups.yahoo.com/grou=
p/P2P-Developer
> > >
> > > Web link to the EJB-Developer group:
> > >
> >=20
> <http://groups.yahoo.com/group/EJB-Developer>http://groups.yahoo.com/grou=
p/EJB-Developer
> > >
> > > ATTENTION: You are receiving this message because you actively subscr=
ibed
> > > to the EJB-Developer technical discussion group on Yahoo! Groups. Al=
l
> > > subscriptions come from Yahoo-verified email addresses and are logged=
;
> > > therefore subscriptions can be proved to any appropriate legal author=
ity.
> > > To unsubscribe, send a blank email from the email address receiving g=
roup
> > > messages to the "Unsubscribe" email address shown above. If=20
> 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=3D213858.1879370.3379539.1261774/D=3Degroupweb/S=
=3D17050=20
> 06905:HM/A=3D763352/R=3D0/*http://www.classmates.com/index.tf?
>s=3D5085>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/gr=
o=20
> up/Java_Developer
> >- For peer-to-peer software development discussion:
> ><http://groups.yahoo.com/group/P2P-Developer>http://groups.yahoo.com/gro=
u=20
> p/P2P-Developer
> >
> >Web link to the EJB-Developer group:
> >
> ><http://groups.yahoo.com/group/EJB-Developer>http://groups.yahoo.com/gro=
u=20
> p/EJB-Developer
> >
> >ATTENTION: You are receiving this message because you actively subscribe=
d
> >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 f=
or
> >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.
>
>
>
>--------------------------------------------------------------------------=
------
>
>
> >
>
>
>
>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:=20
> http://groups.yahoo.com/group/Java_Developer
> - For peer-to-peer software development discussion:=20
> http://groups.yahoo.com/group/P2P-Developer
>
>Web link to the EJB-Developer group:
> http://groups.yahoo.com/group/EJB-Developer
>
>ATTENTION: You are receiving this message because you actively subscribed=
=20
>to the EJB-Developer technical discussion group on Yahoo! Groups. All=20
>subscriptions come from Yahoo-verified email addresses and are logged;=20
>therefore subscriptions can be proved to any appropriate legal=20
>authority. To unsubscribe, send a blank email from the email address=20
>receiving group messages to the "Unsubscribe" email address shown=20
>above. If unsubscribing doesn't work, send a message concerning this=20
>problem to [email protected]. Only Yahoo! Groups is responsible for=
=20
>their own subscription services; the moderator will not perform these=20
>services at any time.
>
>*** EJB-Developer - A free service brought to you by Democracy 2.0=20
>(www.democracy2.org) ***
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
=0D
_________________________________________________________=0D
Do You Yahoo!?=0D
Get your free @yahoo.com address at http://mail.yahoo.com=0D
=0D