You can declare those mappings inside of the
     <env-entry>
     </env-entry>
tags each of the beans that you are wanting to declare.

Here is an example

      <env-entry>
     <env-entry-name>ejipt.isLocal</env-entry-name>
     <env-entry-type>java.lang.String</env-entry-type>
     <env-entry-value>false</env-entry-value>
      </env-entry>

This is how I have been declaring my properties for my CMP beans.

If you are going to have an ejb-jar.xml, you have to declare your CMP
properties in this way.   If choose to not use the ejb-jar.xml, you may use
the properties files that are described in the development pdf.

Adam



                                                                                       
                        
                    Marcus                                                             
                        
                    Lankenau              To:     JRun-Talk 
<[EMAIL PROTECTED]>                      
                    <marcus.lanken        cc:                                          
                        
                    [EMAIL PROTECTED]>            Subject:     deployment of multiple beans    
                        
                                                                                       
                        
                    11/21/00 01:27                                                     
                        
                    AM                                                                 
                        
                    Please respond                                                     
                        
                    to jrun-talk                                                       
                        
                                                                                       
                        
                                                                                       
                        




This is a multi-part message in MIME format.
--------------C601C766B287AEE07FAE544C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi!

We want to deploy a set of beans generated with Visual Cafe. Those beans
contain a ejb-jar.xml file, which we wanna use. Since we are useing CMP
we need to specify the database bindings like

ejipt.storeSQL =               UPDATE Adress SET name=? , street=? ,
zip=? , city=?  WHERE adressID=?
ejipt.storeSQL.source =        source1
ejipt.storeSQL.params =        name, street, zip, city

Is it possible to specify this mappings for more than just one bean in
one deploy.properties file???


thanx in advance

Marcus Lankenau
WWL vision2_market

--------------C601C766B287AEE07FAE544C
Content-Type: text/x-vcard; charset=us-ascii;
 name="marcus.lankenau.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Marcus Lankenau
Content-Disposition: attachment;
 filename="marcus.lankenau.vcf"

begin:vcard
n:Lankenau;Marcus
x-mozilla-html:FALSE
url:wwl.de
org:wwl vision2market;Interactive
adr:;;goebelstr. 46;Lilienthal;D;28865;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Developer
fn:Marcus Lankenau
end:vcard

--------------C601C766B287AEE07FAE544C--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and
provide more resources for the community.
http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to