[JBoss-user] RE: JBoss 3.2.4

2004-01-19 Thread Darren Hartford
Just curious, would the JBoss 3.2.4 include the updated Jboss.NET stack? Specifically, I remember seeing in CVS-HEAD support for the value-object pattern with the @jboss-net.xml-schema tag, would be nice if this was included in 3.2.4 release. -D To: [EMAIL PROTECTED] From: Rafal Kedziorski <[EM

[JBoss-user] AW: JbossQL SUM (was: [jboss4 and EJB2.1 ejb-ql?])

2004-01-15 Thread Darren Hartford
Perfect Alexey, thank you! I will use the dynamic query method for aggregate QL methods until EJB2.1 is finalized in JBoss. The testsuite gave a perfect example. Subject: RE: [JBoss-user] JbossQL SUM (was: [jboss4 and EJB2.1 ejb-ql?]) Date: Thu, 15 Jan 2004 09:30:02 -0600 From: "Alexey Loubyans

[JBoss-user] JbossQL SUM (was: [jboss4 and EJB2.1 ejb-ql?])

2004-01-14 Thread Darren Hartford
I have the paid-for docs, full google, and several days later I still do not know how to use the JbossQL to get a SUM. Could someone enlighten me please? It should have been simple... -D --__--__-- Subject: RE: [JBoss-user] RE: jboss4 and EJB2.1 ejb-ql? Date: Mon, 12 Jan 2004 16:25:24 -0600 Fr

[JBoss-user] RE: jboss4 and EJB2.1 ejb-ql?

2004-01-12 Thread Darren Hartford
] Functions in SELECT clause http://sourceforge.net/tracker/?func=3Ddetail&aid=3D794199&group_id=3D228= 66&at id=3D381174 [ 815115 ] JBossQL: SUM, AVG, MAX, MIN http://sourceforge.net/tracker/?func=3Ddetail&aid=3D815115&group_id=3D228= 66&at id=3D381174=20 > -Origina

[JBoss-user] jboss4 and EJB2.1 ejb-ql?

2004-01-08 Thread Darren Hartford
Hey all, Grabbed a snapshot of 4.0DR3 as it is the most recent to see if the aggregate functions defined in EJB2.1 are ready to go. Unfortunately, this query did not work or my code is wrong. EJB-QL "SELECT SUM(o.amountpaid) FROM MyTable AS o" Jboss-QL "SELECT SUM(o.amountpaid) FROM MyTable AS o

[JBoss-user] [AW] java.util.Date with Jboss3.2.3

2003-12-24 Thread Darren Hartford
necessary information to use java.util.Date. The correct ones are default in cmp-jdbc config file, my own fault for overriding the defaults! Thanks everyone, sorry for the post - just was getting frustrated. Hopefully someone will learn from my experience =P -D -----Original Message- From: Da

[JBoss-user] java.util.Date with Jboss3.2.3

2003-12-24 Thread Darren Hartford
Hey all, Using CMP and JBoss3.2.3, using a field with java.util.Date breaks. This sucks - you can not effectively use the Jboss-Net WebServices on any objects created from the CMP (like value-objects) directly and quickly and instead have to specifically cast those particular fields from java.sq

[JBoss-user] EJB 2.0/EJBQL spec (was: Jboss 3.2.2/EJB-QL with

2003-12-19 Thread Darren Hartford
MP to Hibernate? -D Date: Fri, 19 Dec 2003 08:40:52 -0500 From: Bill Burke <[EMAIL PROTECTED]> Better yet, use Hibernate. Darren Hartford wrote: > Hey all, > Just for kicks I downloaded EJB 2.0 Final Release 2 specifications. On page 229 > under section 11.2.7.6 the operators '&

[JBoss-user] EJB 2.0/EJBQL spec (was: Jboss 3.2.2/EJB-QL with >= or <=?)

2003-12-19 Thread Darren Hartford
However, Dain did catch this (see forum link below) but tells how you can not use those operators with DATES. Unfortunately, that was my scenario (which I agree is kinda silly) but the '>=' and '<=' do work for integer types. http://jboss.org/index.html?module=bb

[JBoss-user] Jboss 3.2.2/EJB-QL with >= or <=?

2003-12-17 Thread Darren Hartford
Hey all, Is there any reason why Jboss 3.2.2 throws an exception when an EJB-QL statement contains '>=' or '<='? -D --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for

[JBoss-user] AW: [OT] reporting engines/tools

2003-11-25 Thread Darren Hartford
Hi Dudley, I've gone through the reporting jungle myself, and my recommendation is to look into the iReport/JasperReport combo. Using iReport's JRCustomDataSource you can write EJB connectors to help designing reports for EJB reporting instead of just SQL reporting (but it does SQL reporting ju

[JBoss-user] RE: Challenge for EJB-QL, JBossQL, or declared SQL?

2003-11-06 Thread Darren Hartford
ing then?) I know EJB QL does not allow that. Maybe JBoss QL. Regards, Stephane >>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 9:24 AM Doesn't 'ORDER BY' help you? >>>> "Darren Hartford" <[EMAIL PROTECTED]&g

[JBoss-user] Challenge for EJB-QL, JBossQL, or declared SQL?

2003-11-05 Thread Darren Hartford
Hey all, I got an interesting problem that I should think some of you may have already come across in some fashion or another. I want to do a search to return a collection of objects, but it needs to be very specific as follows: Example table: batchnumber | sequence | receive_date | town | item

[JBoss-user] soft-locking and Value-Objects - correct behavior?

2003-10-06 Thread Darren Hartford
Hi all, I'm using Jboss 3.2.2RC3 for development, and came across a scenario I would like to make sure I understand correctly. I have an entity bean setup with soft-locking: * @ejb:bean *type="CMP" *cmp-version="2.x" *name="MyStuff" *view-type="local" *transaction-type=

[JBoss-user] soft-locking and Value-Objects

2003-10-03 Thread Darren Hartford
Hi all, I'm using Jboss 3.2.2RC3 for development, and came across a scenario I would like to make sure I understand correctly. I have an entity bean setup with soft-locking: * @ejb:bean *type="CMP" *cmp-version="2.x" *name="MyStuff" *view-type="local" *transaction-type=

[JBoss-user] [OT] ejb-ref/ejb-external-ref...what? why?

2003-09-26 Thread Darren Hartford
Hey all! I have an older application that I wrote with EJB's to run on JBoss. This works great as-is, and now going back through and re-factoring (not exactly J2EE code, trying to get that way). I have session beans that import entity bean code and everything works fine. When I start playing w

[JBoss-user] RE: Frustrated with CMR on Jboss

2003-09-12 Thread Darren Hartford
Hi Ingo, all, I posted more of the challenging code on the forums, didn't want to clutter the mailing list: http://www.jboss.org/thread.jsp?nav=false&forum=46&thread=38939 thanks all, I'm hoping it is something silly! -D --__--__-- From: "Ingo Bruell" <[EMAIL PROTECTED]> Date: Fri, 12 Sep 2003 1

[JBoss-user] Frustrated with CMR on Jboss

2003-09-11 Thread Darren Hartford
Hey all, been banging my head on CMR for couple of weeks now, and since my desk broke it's about time to ask the mailing list for some help ;-) If you have a 1-N relationship between, say, an Organization bean that has many Gangsters. And, let's say you want to return a collection of value-objec

[JBoss-user] forums versus mailing list

2003-09-10 Thread Darren Hartford
Hey all, So what is the difference between using the JBoss forums versus the mailing lists? -D --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-

[JBoss-user] [update] wierd - cmr w/vo first time null?

2003-09-09 Thread Darren Hartford
correction: This issue with the first-time null exception seems related to JDBCOptimistic lock - once I went back to QueuedPessimisticEJBLock the first-time nulls no longer happen (but performance drops). --__--__-- Hey all, Optimizing my program and testing as I go through, and came across an

[JBoss-user] wierd - cmr w/vo first time null?

2003-09-09 Thread Darren Hartford
Hey all, Optimizing my program and testing as I go through, and came across an unusual scenario. I have an Organization bean with a 1-N relationship to a Member bean. There is an Organization.getMembers() method that is an aggregate value-object. When I call the Organization value-object with

[JBoss-user] Re: CMR with Xdoclet and Jboss

2003-09-03 Thread Darren Hartford
eign-key" * @jboss.relation * fk-column="category_fk" * related-pk-field="categoryId" */ public abstract CategoryLocal getCategory(); /** * @ejb.interface-method * @param category */ public abstract void setCategory(CategoryLocal category);

[JBoss-user] CMR with Xdoclet and Jboss

2003-09-02 Thread Darren Hartford
Hey all, 3 days latertime to ask the list :P I have an existing 1:N table relationship between table Case and Schedule. Now, the pk for Case is 'caseId' and for Schedule it is 'caseId_scheduleIncrement' (created from two other fields 'caseId_fk' and 'scheduleIncrement', old process that must

[JBoss-user] jboss.net - trying to deploy

2003-08-14 Thread Darren Hartford
Hi all, I'm following the example on http://www.nsdev.org/jboss/stories/jboss-net.html, and everything seems to get created fine, but when I try to deploy I get the following error: ===snip=== org.jboss.deployment.DeploymentException: exception in init of file:/C:/jboss/jb oss-3.2.2RC2/server/de

[JBoss-user] RE: [AW] jboss.net - try to deploy

2003-08-14 Thread Darren Hartford
Ah! That was it - double deployment tag in the web-service.xml file (xdoclet-module-jboss-net generated, changes made double-tags). That was it, thanks CGJ! --__--__-- Darren, There seems to be a parsing problem in one of your deployment = descriptors. Can you check them (e.g., using Explorer?

[JBoss-user] EJB: trigger/event from CMP set method?

2003-04-02 Thread Darren Hartford
Hi all, Using CMP Entity beans with a Session facade. I would like to have an event/trigger happen when a specific field is changed in my database, but I don't want to use db-specific triggers. As an example, when setStartDate is changed, have it automatically call the 'setDeadlineDate' with 5

RE: AW: [JBoss-user] JBoss: Not Ready For Prime Time

2003-04-01 Thread Darren Hartford
Thank you Dr. Christoph, this seems to be going towards the actual crux of the conversation, and very good stand. From my standpoint, going use a non-technical example, people buying furniture... *Some people like to buy nice, warranted, expensive furniture for their home, ready to go and ship

[JBoss-user] struts.sar file?

2003-03-04 Thread Darren Hartford
Hi all, Has someone made a 'struts.sar' file, or equivalent, that will have all the normal struts and validator libraries to support webapps? If not, would this be the right approach? If get confirmation that this is the right approach and no one has done one yet, I'll see if I can hack somethin

[JBoss-user] [OS] JBoss/EJB build systems - Xdoclet with Ant, Maven, Centipede?

2003-02-10 Thread Darren Hartford
Hi All, Been using Ant and Xdoclet, great tools, makes my life a LOT easier than good-ol' writing interfaces on my own :-) I have started migrating to the Maven build system, to support more project management features, auto javadoc creation and deployment, changelog, blah blah blah. I know you

[JBoss-user] Jboss/java on Linux SMP box?

2003-01-14 Thread Darren Hartford
Hey all, I have been having some performance issues with JBoss, and thought it related to ignorance or poor CMP/cache setup. However, I just happen to test the same application from a dual-processor Linux box to a single-processor Linux laptop, and the laptop performed better. Also have a spec

RE: [JBoss-user] Store large pdfs with JBoss

2003-01-13 Thread Darren Hartford
Just throwing in my two cents - Outside of JBoss, with Content Management Systems, the most common problem is how to handle large amounts of data, which is the case here. With databases, you have to scale your server up to handle it. With a Filesystem approach, you can take advantage of HSM -

[JBoss-user] maybe just dreaming - Entity Bean change reflect

2003-01-10 Thread Darren Hartford
g the table... Am i missing some point here? rgds MS -Original Message- From: Darren Hartford [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 9:56 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] maybe just dreaming - Entity Bean change reflect in Persistant Storage? Hi All, I m

[JBoss-user] maybe just dreaming - Entity Bean change reflect in Persistant Storage?

2003-01-09 Thread Darren Hartford
Hi All, I may be just dreaming, but when making a change to a CMP Bean, is there some functionality to automatically update the Persistant Storage with the change? As an example, add some new fields to the bean and have it add the new fields to the attached database? Jboss3.0.4/Jetty w/ MySQL

Re[4]: [JBoss-user] Optimistic locking ported to JBoss-3.2

2002-12-26 Thread Darren Hartford
Ah, thanks Alex! Unfortunately, answering some questions lead to more questions for even better understanding ;-) Using the Version Strategy as an example, if you have one app server talking to one database (equiv to commit-option B), will this make mostly-read transactions better or not make t

Re: [JBoss-user] Entity Bean Performance Tuning Help

2002-10-31 Thread Darren Hartford
Have been having similar issues, and my 'psuedo-hack' tests show similar results to Georg, so thank you Georg for pointing out that the database lookups are not the problem, but the object conversion piece. I don't wish to sell other products, but for a reference, has anyone seen a difference if t

[JBoss-user] False-positive LDAP Authentication when no password entered....also TLS?

2002-08-16 Thread Darren Hartford
Hi all, Running Jboss 3.0.1RC1_Tomcat with OpenLDAP 2.0.21 LDAP backend. Other applications are using this LDAP backend and do not have any security problems, isolating to just this troublesome Web Application. ;-) Running into an issue with supposedly Secured Web Applications during authentic