modifying tables using session bean
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   A_Subrahmanyam
Posted On:   Tuesday, June 1, 2004 09:34 AM



can we modify/insert the tables in the database

using session bean

Re: modifying tables using session bean

Posted By:   narender_reddy  
Posted On:   Saturday, June 19, 2004 02:48 AM

why not it is possible to do?it is possible ..but not recommonded since...entity beans are meant for db opeartions which has extensive TX,connecion pooing facilit..
.anyhow we will call entity beans from session beans which is good approach

Re: modifying tables using session bean

Posted By:   Srivatsa_Manjunath  
Posted On:   Tuesday, June 1, 2004 11:13 AM

You would use standard JDBC with DDL SQL statements to manipulate the structure of your tables and queries. Yes this can be done from with a SFSB or a SLSB.


Usually DML operations are not recommended for use from Application servers since there could be cache etc associated if these are mappeded to CMP beans etc.
About | Sitemap | Contact