[JBoss-user] OT: J2EE Blog Software?

2003-01-18 Thread Hunter Hillegas
Is there any good Open Source J2EE based blog software out there?

Sorry that this is offtopic...

Hunter



---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] AOP Primer

2003-01-18 Thread Hunter Hillegas
Does anyone have a link to a good primer on AOP stuff?

Since JBoss 4 is gonna be based on it, I'd like to have a better
understanding of what it is, how it works, how I can use it, etc...

What I have read sounds cool but I'd like to learn more!

Hunter



---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Hi Remember me..!!?

2003-01-18 Thread Isabelle
Title: Do you remember me?




http://www.myfreelivecam.com/isabelle






---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your
clients even if they use browsers that are limited to 40 bit encryption.
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Hi Remember me..!!?

2003-01-18 Thread Isabelle
Title: Do you remember me?




http://www.myfreelivecam.com/isabelle






---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your
clients even if they use browsers that are limited to 40 bit encryption.
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss 3.2 RC1 ClassLoader - Can't find bundle for base name

2003-01-18 Thread Muruga Chinnananchi
Hi Scott,

Thanks for your help. Great! It works if i put the jar
file in the server/default/lib directory. 

thanks again
-muruga

--- Scott M Stark <[EMAIL PROTECTED]> wrote:
> Put the jar in the server/default/lib directory as a
> workaround. I'll have to look
> into why the external jar is not available to the
> ResourceBundle.
> 
> 
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> 
> 
> - Original Message - 
> From: "Muruga Chinnananchi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, January 17, 2003 10:51 AM
> Subject: [JBoss-user] JBoss 3.2 RC1 ClassLoader -
> Can't find bundle for base name
> 
> 
> > Hi,
> > 
> > Thanks very much for JBoss 3.2 RC1 release.
> > 
> > I just upgraded from JBoss 3.2 Beta3 to JBoss 3.2
> RC1
> > and i didn't change any configuration, i just
> moved my
> > EAR file from Beta3 /deploy to RC1 /deploy
> directory.
> > And i get this following error. The startup.war
> file
> > uses some resources.properties file which is in
> > mycompany.jar. I put this mycompany.jar in
> > default/conf/jboss-service.xml file. Here is the
> jar
> > file which has the resources.properties file:
> > 
> >  > archives="mycompany.jar"/>
> > 
> > Can you please help me? Do i need to put this
> > mycompany.jar file in some shared /lib directory.
> > 
> > PRINT STACK TRACE BEGIN
> > ===
> > 10:35:11,296 ERROR [MainDeployer] could not start
> > deployment: file:/C:/collaxa/a
> >
>
ppserver/jboss/server/default/tmp/deploy/server/default/deploy/collaxa.ear/35.co
> > llaxa.ear-contents/startup.war
> > java.lang.ExceptionInInitializerError:
> > java.util.MissingResourceException: Can't find
> bundle
> > for base name com.collaxa.
> > cube.loader.resources, locale en_US
> > at
> >
>
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
> > .java:712)
> > at
> >
>
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:683)
> > at
> >
>
java.util.ResourceBundle.getBundle(ResourceBundle.java:559)
> > at
> >
>
com.collaxa.cube.loader.LoaderResources.(LoaderResources.java
> > :60)
> 
> 
> 
>
---
> This SF.NET email is sponsored by: Thawte.com - A
> 128-bit supercerts will
> allow you to extend the highest allowed 128 bit
> encryption to all your 
> clients even if they use browsers that are limited
> to 40 bit encryption. 
> Get a guide
>
here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss 3.2 RC1 ClassLoader - Can't find bundle for base name

2003-01-18 Thread Scott M Stark
Put the jar in the server/default/lib directory as a workaround. I'll have to look
into why the external jar is not available to the ResourceBundle.


Scott Stark
Chief Technology Officer
JBoss Group, LLC


- Original Message - 
From: "Muruga Chinnananchi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 17, 2003 10:51 AM
Subject: [JBoss-user] JBoss 3.2 RC1 ClassLoader - Can't find bundle for base name


> Hi,
> 
> Thanks very much for JBoss 3.2 RC1 release.
> 
> I just upgraded from JBoss 3.2 Beta3 to JBoss 3.2 RC1
> and i didn't change any configuration, i just moved my
> EAR file from Beta3 /deploy to RC1 /deploy directory.
> And i get this following error. The startup.war file
> uses some resources.properties file which is in
> mycompany.jar. I put this mycompany.jar in
> default/conf/jboss-service.xml file. Here is the jar
> file which has the resources.properties file:
> 
>  archives="mycompany.jar"/>
> 
> Can you please help me? Do i need to put this
> mycompany.jar file in some shared /lib directory.
> 
> PRINT STACK TRACE BEGIN
> ===
> 10:35:11,296 ERROR [MainDeployer] could not start
> deployment: file:/C:/collaxa/a
> ppserver/jboss/server/default/tmp/deploy/server/default/deploy/collaxa.ear/35.co
> llaxa.ear-contents/startup.war
> java.lang.ExceptionInInitializerError:
> java.util.MissingResourceException: Can't find bundle
> for base name com.collaxa.
> cube.loader.resources, locale en_US
> at
> java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
> .java:712)
> at
> java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:683)
> at
> java.util.ResourceBundle.getBundle(ResourceBundle.java:559)
> at
> com.collaxa.cube.loader.LoaderResources.(LoaderResources.java
> :60)



---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] error compiling ejbql (dynamicQL): Unkown terminalfield: at line 1...

2003-01-18 Thread Jim Clayson
Jim Clayson wrote:


Hi

When I submit the following dynamicQL:

SELECT OBJECT(a) FROM AgentBean a WHERE a.agentType = ?1 AND 
a.registrationdate >= ?2

I get the following consol msgs:

17:09:36,578 INFO  [AgentBean] list size = 2!
17:09:36,579 INFO  [AgentBean] list: [3, Thu Dec 12 00:00:00 GMT 2002]!
17:09:36,579 DEBUG [ejbSelectAgentGeneric] DYNAMIC-QL: SELECT 
OBJECT(a) FROM AgentBean a WHERE a.agentType = ?1 AND 
a.registrationdate >= ?2
17:09:36,585 ERROR [STDERR] javax.ejb.FinderException: Error compiling 
ejbql: org.jboss.ejb.plugins.cmp.ejbql.UnknownPathException: Unknown 
terminal field: at line 1, column 81.  Encountered: "registrationdate" 
after: "a."
17:09:36,586 ERROR [STDERR] at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCDynamicQLQuery.execute(JDBCDynamicQLQuery.java:75) 

17:09:36,586 ERROR [STDERR] at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCSelectorBridge.execute(JDBCSelectorBridge.java:64) 



The query works without the date argument. I have tried running some 
sql with the date mentioned above from my postgres psql cmd line and 
it does return a record.

I had no override in jbosscmp-jdbc.xml for the date field and so I 
tried putting in TIMESTAMP, TIMESTAMP for jdbc-type and sql-type but 
that made no difference.

Does anyone recognize what the problem could be here?

Any help is appreciated.

jim




---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit 
encryption. Get a guide 
here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Problem solved - it was a reference to a field name which gets 
stored/created as all lower-case in postgres but needed to be referenced 
from within the ejbHome method as case sensitive.

jim




---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss/Jetty and JSP 2.0

2003-01-18 Thread Pete Beck
On Sat, 2003-01-18 at 16:25, Jules Gosnell wrote:

> I haven't tried it, but if you have a Jasper that implements JSP2.0, try 
> replacing the jasper jars in jbossweb.sar with it and see if it works...
> 
> If not, they have changed the external API and we may have to make 
> adjustments. I don't see why they should need to do this, Jasper is just 
> another servlet that should run in any compliant servlet-container, 
> which Jetty is.

If this is true then that is excellent news.  Too be honest I am more
interested in JSP 2.0 support in Jetty than in Tomcat as I switched to
Jetty some time ago. :-)

But I knew that Jetty used Jasper, but I wasn't aware that the
integration was (theoretically) so simple.

> Try it and come back to the list with your findings,

Alas someone else will probably beat me to it.  It will be some time
before I get to this part of my refactoring.  Hence my original
question, I was just wondering how long it would be, it sounds from your
comments that JSP 2.0 will be ready a while before I am.
But if I do end up working on it first, you can be sure that I'll post
my findings here and I'll help in any way I can.

> What have they got in JSP2.0 that is exciting ? I haven't yet had time 
> to look at the spec.

There are quite a few things that are new in JSP that I have been
getting quite excited about.

I have never previously been a fan of JSP because in my mind it did not
sufficiently separate the presentation and business logic layers.
Custom tags were a step to solve this, but it was too "hard" of a
solution whereby all the logic had to be set up in java classes.

However, JSP has introduced a new server side scripting language called
"EL" which seems to me to be exactly what was needed.  This is a welcome
addition if like me you have never been keen on the idea of having java
code embedded in templates.

You can create pure XML pages in JSP now, and switch off any embedded
Java, instead opting for the lighter weight EL scripting language.  You
can then add your presentation layer using servlet filters doing XSLT
transformations for example.
If you use such a methodology, it forces you to put all of your meaty
code in Java classes where it belongs, but still gives you the freedom
to do scripting in the template.

You can also create custom tags in pure EL.

The strange thing for me is that I have been mentally designing a new
XML based web-framework that would use JPython as a scripting language.

After reading the JSP 2.0 spec. however, I realised that I can now
achieve the same design goals using the new features of JSP.

The only area which I think is still a little weak is that in the
servlet API, filters can only be configured at deploy time.  I would
like to be able to pick different output "filters" at runtime.

This should be relatively easy to work around however.

-- 
Peter Beck BEng (hons)  - Managing Director, Electrostrata Ltd.
http://www.electrostrata.com  --+-+--  Experts in e-business and e-commerce



---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] error compiling ejbql (dynamicQL): Unkown terminal field: at line1...

2003-01-18 Thread Jim Clayson
Hi

When I submit the following dynamicQL:

SELECT OBJECT(a) FROM AgentBean a WHERE a.agentType = ?1 AND 
a.registrationdate >= ?2

I get the following consol msgs:

17:09:36,578 INFO  [AgentBean] list size = 2!
17:09:36,579 INFO  [AgentBean] list: [3, Thu Dec 12 00:00:00 GMT 2002]!
17:09:36,579 DEBUG [ejbSelectAgentGeneric] DYNAMIC-QL: SELECT OBJECT(a) 
FROM AgentBean a WHERE a.agentType = ?1 AND a.registrationdate >= ?2
17:09:36,585 ERROR [STDERR] javax.ejb.FinderException: Error compiling 
ejbql: org.jboss.ejb.plugins.cmp.ejbql.UnknownPathException: Unknown 
terminal field: at line 1, column 81.  Encountered: "registrationdate" 
after: "a."
17:09:36,586 ERROR [STDERR] at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCDynamicQLQuery.execute(JDBCDynamicQLQuery.java:75)
17:09:36,586 ERROR [STDERR] at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCSelectorBridge.execute(JDBCSelectorBridge.java:64)


The query works without the date argument. I have tried running some sql 
with the date mentioned above from my postgres psql cmd line and it does 
return a record.

I had no override in jbosscmp-jdbc.xml for the date field and so I tried 
putting in TIMESTAMP, TIMESTAMP for jdbc-type and sql-type but that made 
no difference.

Does anyone recognize what the problem could be here?

Any help is appreciated.

jim




---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Http Clustering: No store ?!?

2003-01-18 Thread Jules Gosnell
João Clemente wrote:

On Fri, 17 Jan 2003 07:36:57 +
Jules Gosnell <[EMAIL PROTECTED]> wrote:



João Clemente wrote:


As I've reported some days ago, when using 3.0.5RC2, I am getting these strange lines in my log file. This time I'm using 3.0.5 binaries available in sourceforge.

01:16:45,502 INFO  [JBossWebApplicationContext] setDistributable true
01:16:46,062 INFO  [JBossWebApplicationContext#/webmail] using Distributable HttpSession Manager: or
g.mortbay.j2ee.session.Manager@779959
01:16:46,102 WARN  [Manager] No Store. Falling back to a local session implementation - NO HTTPSESSI
ON DISTRIBUTION

As anyone seen this before? 

If you set the  tag in your web.xml you should:

1. be doing so intentionally - it is a costly thing to do.



Yes, I am, since I'll need to support failover. My app keeps references in http layer (httpsession) to ejb layer objects. If I do not support http session replication the whole thing goes down.



2. uncomment the JGStore block in 
deploy/jbossweb.sar/META-INF/jboss-service.xml


Hey! Is this new? I haven't done this step with the previous jboss versions, and I had some small test applications working correctly (with http replication enabled) then! Was this some jetty change introduced in the last days?




This is new in 3.0.5.

Components in the session replication layer are now configured by 
allocating and configuring an instance in the ConfigurationElement of 
you jbossweb.sar/META-INF/jboss-service.xml. Previously, you just had to 
specify the classes, not the instances.

The advantage of this approach is that it is considerably more flexible 
and exposes the instance's full interface to configuration.

The disadvantage is that you actually need the class present at 
configure-time. JavaGroups is not present in some of the JBoss 
configurations, so this block is commented out, to avoid nasty 
exceptions on startup.


NB.

You should upgrade to Jetty 4.2.5 to avoid a couple of nasty bugs that 
crept into 4.2.4 (release in 3.0.5).

See the FAQ - 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/jetty/FAQ?rev=HEAD&content-type=text/vnd.viewcvs-markup


Jules




3. run the 'all' configuration, which contains JavaGroups which is 
needed for session distribution.


Yep, I'm doing that.


Ok, let me try out and I'll post my new findings.

Once again, thank you Jules.







---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Loosing my mind

2003-01-18 Thread Jules Gosnell
There is a bad bug to do with session id's in Jetty 4.2.4, which went 
out in 3.0.5.

Please either refresh a cvs copy of jboss-3.0 or d/l the latest Jetty 
from jetty.mortbay.org and substitute the jars in your jbossweb.sar with 
the ones contained in this (this is covered in my FAQ - 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/jetty/FAQ?rev=HEAD&content-type=text/vnd.viewcvs-markup)

Jules

James Ward wrote:
Shouldn't this work:

index.jsp

<%@ page session="true" %>
Your session id: <%= session.getId() %>


Currently I am getting:

Your session id: 


I am using JBoss 3.0.5 for j2se 1.4 (with Jetty).

Thanks in advance.

-James



---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss/Jetty and JSP 2.0

2003-01-18 Thread Jules Gosnell
Pete Beck wrote:

Anyone know what sort of timeframe we might be able to use JSP 2.0 in
JBoss?



I haven't tried it, but if you have a Jasper that implements JSP2.0, try 
replacing the jasper jars in jbossweb.sar with it and see if it works...

If not, they have changed the external API and we may have to make 
adjustments. I don't see why they should need to do this, Jasper is just 
another servlet that should run in any compliant servlet-container, 
which Jetty is.

Try it and come back to the list with your findings,

What have they got in JSP2.0 that is exciting ? I haven't yet had time 
to look at the spec.


Jules




---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Replication fails: strange JavaGroups Exception

2003-01-18 Thread Jules Gosnell
Vladyslav Kosulin wrote:

Jules Gosnell wrote:


Alternatively, d/l the latest Jetty 4.2.5? from jetty.mortbay.org and 
follow the instructions in this FAQ for updating your jbossweb.sar 
with fresh Jetty jars...


Unfortunately, FAQ is not clear in some details:
1) Jetty 4.2.5 includes org.mortbay.jetty.jar and 
org.mortbay.jetty-jdk1.2.jar
   Which one to use with JBoss on top of JDK1.4.1?
2) Do i have also to upgrade javax.servlet.jar?

Thanks,Vlad

(1) depends on your JVM - I think the 1.2 jar is for 1.2/1.3 JVMs)

(2) It would probably be safer to do so.

Suck-it-and-see.

Jules





There is a newer version of Jetty out - I want to upgrade.
--

Rather than wait for a new JBoss release, you can probably just pull
down the new Jetty release and substitute the jars you currently have
in .../deploy/jbossweb.sar with the ones in the new release. Pay
attention to any notes about API changes as these may affect either
the integration code (in which case you will have to wait for me to
update cvs) or the Jetty/JBoss configuration (in which case, if you
are feeling brave, you should be able to fix your own
configuration). Now you are living on the edge !

N.B. Standalone Jetty's MANIFEST.MF points to various jars in it's
distrib. These are all already available to the JBoss classloader and
the hint from MANIFEST.MF will generate a warning that can be safely
ignored, since the jars will not be in the expected place.





---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] is the carInstance.ejbHomeXyz instance arbitraryin this case?

2003-01-18 Thread Jim Clayson
Jim Clayson wrote:


Hi

(jboss 304 + tomcat406)

I have a cmp2 entity bean, car.

Ideally I would like to have a method which I can call on the hom 
interface which returns me all cars which adhere to a certain set of 
criteria.
see 
http://www.mail-archive.com/jboss-user%40lists.sourceforge.net/msg25125.html 
for the related post.

I decided to attempt implementing an ejbSelect method which relies on 
dynamicQL to take the dynamic arguments and string with which to 
compile the sql statment. Done. Now I can see if it works.

But hang on

Now, I know the method must be defined on the bean imp class but the 
query doesn't relate to any particular bean instance. The query is 
simply saying 'get me all cars which adhere to the following 
criteria'. (which got me thinking I need the home instance)

Here's the question:
Am I supposed to get an arbitrary entity bean instance (of type Car) 
just for the sake of invoking this ejbSelect or am I missing something 
here?

Thanks
jim




---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit 
encryption. Get a guide 
here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Ok, I found the info I was looking for. I just need to look at the spec.

jim




---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] is the carInstance.ejbHomeXyz instance arbitrary in this case?

2003-01-18 Thread Jim Clayson
Hi

(jboss 304 + tomcat406)

I have a cmp2 entity bean, car.

Ideally I would like to have a method which I can call on the hom 
interface which returns me all cars which adhere to a certain set of 
criteria.
see 
http://www.mail-archive.com/jboss-user%40lists.sourceforge.net/msg25125.html 
for the related post.

I decided to attempt implementing an ejbSelect method which relies on 
dynamicQL to take the dynamic arguments and string with which to compile 
the sql statment. Done. Now I can see if it works.

But hang on

Now, I know the method must be defined on the bean imp class but the 
query doesn't relate to any particular bean instance. The query is 
simply saying 'get me all cars which adhere to the following criteria'. 
(which got me thinking I need the home instance)

Here's the question:
Am I supposed to get an arbitrary entity bean instance (of type Car) 
just for the sake of invoking this ejbSelect or am I missing something here?

Thanks
jim




---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user