[JBoss-user] Testing

2004-04-14 Thread Antony Paul
Hi all, This is to know if I post to this list by e-mail do others see this mail ?. I asked a question in this list but it didn't appeared in the list. I subscribed to this list from sourceforge.net. Is this the right way to post to this list ?. Or is there any other good JBoss mailing list. I

Re: [JBoss-user] Testing EJB's

2002-12-11 Thread Jim Crossley
Thanks, Dain. At first, I was encouraged by your reply, so I checked out the source, but it doesn't address my needs. At least, the branch I checked out (3.0 and jboss-head) could not run the testsuite successfully without first firing up JBoss. I want to be able to test my CMP's in an

RE: [JBoss-user] Testing EJB's

2002-12-11 Thread Fred Hartman
give more info on how I used this stuff if you are interested. -Fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dain Sundstrom Sent: Wednesday, December 11, 2002 12:29 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Testing EJB's If you want

[JBoss-user] Testing EJB's

2002-12-10 Thread Jim Crossley
What's the current best practice for unit testing EJB's, (both Entity and Session)? I'm trying to avoid having to deploy them to a separate JBoss instance to test them. More precisely, I want to be able to deploy them to an in-memory container, if possible, similar to Hypersonic's in-memory

RE: [JBoss-user] Testing EJB's

2002-12-10 Thread Herve Tchepannou
Title: RE: [JBoss-user] Testing EJB's My advice will be to expose the remote interface of the component, so that you can test is with standard JUnit test cases. Its easy and you test framework is simple. But, you have to deploy your component to JBoss -Original Message- From: Jim

RE: [JBoss-user] Testing EJB's

2002-12-10 Thread Robert Martin
, December 10, 2002 9:53 AM To: jboss-user Subject: [JBoss-user] Testing EJB's What's the current best practice for unit testing EJB's, (both Entity and Session)? I'm trying to avoid having to deploy them to a separate JBoss instance to test them. More precisely, I want to be able to deploy them

RE: [JBoss-user] Testing EJB's

2002-12-10 Thread Demyanovich, Craig - Apogent
Jim, I currently do not unit test either Entity or Session Beans. Entity Beans are trivial to write, and I trust that the application server will persist them as advertised. To unit test Session Beans would require that they be deployed. Since deployment complicates unit testing and

Re: [JBoss-user] Testing EJB's

2002-12-10 Thread Igor Fedorenko
This aproach does not test deployment descriptors. I've had quite a few problems with missing ejb-ref, resource-ref, etc. What is especially bad is that you do not know if your deployment descriptor has a problem until you actually try to execute line of code that uses missing resource.

Re: [JBoss-user] Testing EJB's

2002-12-10 Thread Jim Crossley
These are good points, and I appreciate yours and others' prompt replies. However, the solutions presented so far seem to force me to complicate my object model to facilitate testing. I agree that an app that is difficult to test probably suffers from poor design, but web apps by their very

Re: [JBoss-user] Testing EJB's

2002-12-10 Thread Dain Sundstrom
Jim, How do you think we test JBoss? Take a look at the CMP tests in the testsuite. We have an addon to JUnit that can deploy and undeploy applications. Also we have a tool that can run the tests on the server side like (I wrote this to test local interfaces), but does not require a

RE: [JBoss-user] Testing EJB's

2002-12-10 Thread Demyanovich, Craig - Apogent
is greatly minimized. Craig -Original Message- From: Igor Fedorenko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 3:06 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Testing EJB's This aproach does not test deployment descriptors. I've had quite a few

RE: [JBoss-user] Testing EJB's

2002-12-10 Thread Demyanovich, Craig - Apogent
-Original Message- From: Jim Crossley [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 3:24 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Testing EJB's These are good points, and I appreciate yours and others' prompt replies. However, the solutions presented so far seem

Re: [JBoss-user] Testing EJB's

2002-12-10 Thread marius
On Tue, Dec 10, 2002 at 02:32:17PM -0600, Dain Sundstrom wrote: Jim, How do you think we test JBoss? Take a look at the CMP tests in the testsuite. We have an addon to JUnit that can deploy and undeploy applications. Also we have a tool that can run the tests on the server side like

Re: [JBoss-user] Testing EJB's

2002-12-10 Thread marius
On Tue, Dec 10, 2002 at 03:23:31PM -0500, Jim Crossley wrote: The app I'm currently working on is very CRUD-ish; it does simple read/write maintenance on a bunch of related objects. I don't want the web tier to access the Entity beans directly -- this would violate the transactional

[JBoss-user] Testing EJBs with JUnit

2002-07-17 Thread Dimitri PISSARENKO
Hello! Has someone experience with testing EJBs using JUnit? I've some entity beans and want to ensure that their basic functions (creation, editing and deletion of records in the database) do work properly after changes (see attachment TestProjectBean.java). But I get a NoClassDefFoundError

RE: [JBoss-user] Testing EJBs with JUnit

2002-07-17 Thread John Moore
Title: RE: [JBoss-user] Testing EJBs with JUnit Yes we're doing itfor all of our beans as well. When it's run you need the jndi.properties file or to pass all of the jndi on the command line. I would guess that you don't have the classes available (Home /Remote interface) available. Also

RE: [JBoss-user] Testing EJBs with JUnit

2002-07-17 Thread HORTON,NOAH (HP-FtCollins,ex1)
I would love to see your example of using JUnit with an EJB. Thanks! -Noah Horton -Original Message- From: Emerson Cargnin - SICREDI Serviços [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:55 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Testing EJBs with JUnit

Re: [JBoss-user] Testing EJBs with JUnit

2002-07-17 Thread Dain Sundstrom
: [JBoss-user] Testing EJBs with JUnit I just did a test with ejb / jaas and junit, let me know if you want so I can send it to you (about 1 meg). If someone else want too, just tell me. Emerson John Moore wrote: Yes we're doing itfor all of our beans as well. When it's run you need

Re[2]: [JBoss-user] Testing EJBs with JUnit

2002-07-17 Thread Alex Loubyansky
: Dimitri PISSARENKO [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 6:57 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Testing EJBs with JUnit Hello! Has someone experience with testing EJBs using JUnit? I've some entity beans and want to ensure that their basic functions

RE: [JBoss-user] Testing EJBs with JUnit

2002-07-17 Thread Subramanian Ananthram
Hi Emerson, Can you send me a copy too. Thanks, Subu -Original Message- From: Emerson Cargnin - SICREDI Serviços [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 12:55 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Testing EJBs with JUnit I just did a test

Re: [JBoss-user] Testing EJBs with JUnit

2002-07-17 Thread Dimitri PISSARENKO
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 6:57 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Testing EJBs with JUnit Hello! Has someone experience with testing EJBs using JUnit? I've some entity beans and want to ensure that their basic functions (creation, editing

Re: [JBoss-user] Testing EJBs with JUnit

2002-07-17 Thread Dimitri PISSARENKO
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:55 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Testing EJBs with JUnit I just did a test with ejb / jaas and junit, let me know if you want so I can send it to you (about 1 meg). If someone else want too, just tell me. Emerson

Re: [JBoss-user] Testing EJBs with JUnit

2002-07-17 Thread Emerson Cargnin - SICREDI Serviços
would love to see your example of using JUnit with an EJB. Thanks! -Noah Horton -Original Message- From: Emerson Cargnin - SICREDI Serviços [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:55 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Testing EJBs with JUnit I just

RE: [JBoss-user] Testing EJBs with JUnit

2002-07-17 Thread Robertson, Jason
To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Testing EJBs with JUnit As there's so many people intersted in this code, i'm translating it and will let it available through ftp (soon). Dimitri PISSARENKO wrote: Hello! The JBossCMP example in the newest Quick Start guide uses my JUnit

Re: [JBoss-user] Testing EJBs with JUnit

2002-07-17 Thread Emerson Cargnin - SICREDI Serviços
. Thanks! -Noah Horton -Original Message- From: Emerson Cargnin - SICREDI Serviços [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:55 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Testing EJBs with JUnit I just did a test with ejb / jaas and junit, let me know if you want

[JBoss-user] testing

2002-06-13 Thread kleung
Testing Kam Lung Leung System Architect Wireless Web Access Inc. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

[JBoss-user] Testing performance

2001-07-12 Thread Naresh Sharma
Hello Everybody, I have wrote a small application having 2 CMP beans and 1 session bean in it. Now i am testing the performance and resource consumption of application servers using this application. so i have deployed this application on JBoss 2.2.1 version and starting 25 client, each firing

Re: [JBoss-user] Testing performance

2001-07-12 Thread Tobias Frech
Naresh, please have a look at the JBoss in production chapter in the manual. There is also a special Performance section. If you are already testing I would be really interested in hearing if switching between the native_ and green_thread implementation of the JDK gives any performance

Re: [JBoss-user] Testing performance

2001-07-12 Thread danch (Dan Christopherson)
the 'tuned-updates' option in jaws.xml is pretty critical - it prevents wasting time updating the database with data that hasn't changed. You can also impliment an 'boolean isModified()' method on your entity beans that returns false if nothing changed. This will allow JBoss to bypass even

[JBoss-user] testing

2001-03-19 Thread Kirill Averianov
testing ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user