Re: Update to question about automatic generation of PK value in OC4J

2002-08-26 Thread Karr, David
-Original Message- From: Karr, David [mailto:[EMAIL PROTECTED]] Sent: Friday, August 23, 2002 5:12 PM To: [EMAIL PROTECTED] Subject: Re: Update to question about automatic generation of PK value in OC4J -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED

OC4J: Writing class derived from DataSourceUserManager

2002-08-28 Thread Karr, David
In our application which we're building for OC4J, we need to validate users against our database UserProfile object, so it's logical to use the DataSourceUserManager class. We also have to write log events (into a database table) whenever there is a login event (login, logout, incorrect

Re: OC4J: Writing class derived from DataSourceUserManager

2002-08-28 Thread Karr, David
-Original Message- From: Juan Pablo Lorandi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 2:43 PM To: [EMAIL PROTECTED] Subject: Re: OC4J: Writing class derived from DataSourceUserManager First, I'd love to redirect you to Orion-Interest mail list, however, the list

Re: OC4J: Writing class derived from DataSourceUserManager

2002-08-29 Thread Karr, David
-Original Message- From: Juan Pablo Lorandi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 2:43 PM To: [EMAIL PROTECTED] Subject: Re: OC4J: Writing class derived from DataSourceUserManager I never used DataSourceUserManager, because my PoCs proved it didn't work well,

Re: entity bean

2002-09-03 Thread Karr, David
-Original Message- From: Manavendra Gupta [mailto:[EMAIL PROTECTED]] Sent: Monday, September 02, 2002 10:16 PM To: [EMAIL PROTECTED] Subject: Re: entity bean At 08:36 AM 9/2/2002 -0600, Mohammed Javid wrote: Hi, please let me know on these 1 Is this possible To have

Re: need help in EJBHomeFcatory

2002-09-09 Thread Karr, David
Title: RE: need help in EJBHomeFcatory -Original Message- From: Kesavanarayanan, Ramesh (Cognizant) [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 08, 2002 11:22 PM To: [EMAIL PROTECTED] Subject: need help in EJBHomeFcatory Hi all,. I got a code snippet of

Re: EJB CMP 2.0 Automatic Primary Key Generation

2002-09-25 Thread Karr, David
-Original Message- From: PEARCE TOMENIUS Zina [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 1:07 AM To: [EMAIL PROTECTED] Subject: EJB CMP 2.0 Automatic Primary Key Generation Hi, I am using Weblogic 6.1 (sp2), with an Oracle database and JBuilder 7 to develop

Ref. jar file from EJB: MANIFEST.MF Class-Path entry seems to not work

2002-09-25 Thread Karr, David
I'm using OC4J 9.0.2 on Win2k. I am trying to use log4j from my EJB classes. I thought I had to do the following to get the classes to load: 1. Store log4j-1.2.3.jar at the root of my ejb-jar file. 2. Store a MANIFEST.MF file in META-INF with an entry like the following: Class-Path:

Re: Ref. jar file from EJB: MANIFEST.MF Class-Path entry seems to not work

2002-09-25 Thread Karr, David
-Original Message- From: Karr, David [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:38 AM To: [EMAIL PROTECTED] Subject: Ref. jar file from EJB: MANIFEST.MF Class-Path entry seems to not work I'm using OC4J 9.0.2 on Win2k. I am trying to use log4j from my EJB

Re: EJB ( CMP) and Primary Keys

2002-10-03 Thread Karr, David
-Original Message- From: Maya Menon [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 8:51 AM To: [EMAIL PROTECTED] Subject: EJB ( CMP) and Primary Keys I have to create a CMP for a table with no primary key but which has a foreign key. Has any one done this ? I am

Re: EJB ( CMP) and Primary Keys

2002-10-03 Thread Karr, David
will manually build your prepared statements and run your queries. If you know what you need to get out of the table, then build the query for it. -Original Message-From: Maya menon [mailto:[EMAIL PROTECTED]]Sent: Thursday, October 03, 2002 11:01 AMTo: Karr, David; [EMAIL PROTECTED]Subject

Re: ejbCreate and complex datatype as parameter

2002-11-22 Thread Karr, David
As far as I know, the parameters to create() just have to be serializable, and do not have to directly correspond to the fields of the bean. I see nothing wrong with sending a Collection or a bean of some sort (like a DTO). However, I'm not sure I see much point to this. You either have lots of

Issues with producing large pdf reports (from Oracle Reports) in session beans

2002-12-09 Thread Karr, David
My group is trying to make some reasonable decisions about how to utilize a module for building large PDF reports in an enterprise application, using Oracle Reports, in particular. The main issue deals with how to transmit PDF output from the Oracle Reports JSP page, back through the EJB layer

Strategies for dealing with circular references between two modules

2002-12-13 Thread Karr, David
This is sort of an ant question, and sort of an ejb question, but sort of not either. It's a build problem related to EJB/JMS. I have a situation where I have two module directories in an application, where one module is a JMS client of the other, and they reverse roles for EJB calls (read

Are any parts of JMS non-thread-safe, thus not reusable across threads?

2004-02-13 Thread Karr, David
Are any parts of JMS not thread-safe, thus not concurrently reusable across threads? There are several pieces, being the ConnectionFactory, Connection, Session, Sender, and Message. I'm not concerned about the Message object itself, as I don't expect that to be reused, but I am concerned about

Re: EJB-QL trim usage

2004-03-09 Thread Karr, David
So your column is declared as CHAR and not VARCHAR? A quick search in the WLS newsgroups points out that you shouldn't use CHAR columns, but instead use VARCHAR. This will automatically remove trailing blanks. -Original Message- From: A mailing list for Enterprise JavaBeans

Local references across ear boundaries

2004-06-03 Thread Karr, David
I always thought that local references could only be used from within an ear boundary (the source and destination inside the same ear). I just checked the 2.0 specification, and it clearly states that this is only restricted to within the same JVM. As this is the first version that even had

Re: EJB2.1/Weblogic 8 -- EJB1.1/Websphere 4

2005-04-03 Thread Karr, David
If you're still looking for an answer on this, I would assume your reference to EJB 2.1 is actually EJB 2.0. In any case, that doesn't matter much. I would say your best bet in these constraints is to implement a Web Service in WebSphere 4.0 (probably ad hoc, like REST, as opposed to SOAP), and

Re: Confirm how to reference EJB class in other jar

2005-06-11 Thread Karr, David
to be in the ear. This is by spec. BEA has traditionally not honored this restriction. I don't know the state of WLS 8.1, but version 6 through 8.0 blindly made all jars of an ear visible to all ejb jars. /Johan 11 jun 2005 kl. 16.26 skrev Karr, David: I'm planning a certain

Specific risks of using java.util.Timer in a J2EE application?

2005-08-26 Thread Karr, David
I know that java.util.Timer is not supposed to be used in the servlet or EJB containers (is the recommendation as strong for the servlet container?). Despite that advisement, I'd really like to understand what the specific risks are. I know that it spawns new threads to execute tasks. What if

Re: Stateless sessionbean

2005-08-31 Thread Karr, David
Creating those objects in the ejbCreate() method is the right thing to do (and removing the null checks). -Original Message- From: A mailing list for Enterprise JavaBeans development Hi , I have a stateless sessionbean. I have a Helper class (DAOHelper)as member variable in

Re: Stateless sessionbean

2005-09-01 Thread Karr, David
As long as the DAOHelper and DAO classes are stateless, it should be fine. -Original Message- From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED] On Behalf Of SUBSCRIBE EJB-INTEREST anonymous Sent: Wednesday, August 31, 2005 7:57 PM To:

Re: NotSupported

2006-01-06 Thread Karr, David
If you're still wondering about this after 3 weeks, yes, it's certainly possible to change the trans-attribute to NotSupported. The container will then not manage transactions for that method. If you never do anything in the method that can change anything, it might be worthwhile to do this, but