Mushtaq Ahmed

Greenhorn
+ Follow
since Sep 01, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Mushtaq Ahmed

Am trying to generate sources for a message bean using ant generate task:

mesage beans has this annotation :

@MessageDriven( maxBeansInFreePool = "200",
destinationType = "javax.jms.Queue",
initialBeansInFreePool = "20",
transTimeoutSeconds = "0",
defaultTransaction = MessageDriven.DefaultTransaction.REQUIRED,
durable = Constants.Bool.FALSE,
ejbName = "VIICMessageBean",
destinationJndiName = "VIICQueue")

but am getting this error whie executing generate task:


[java] Exception in thread "main" com.bea.wls.ejbgen.EJBGenException: ejbName is a required attribute
[java] at com.bea.wls.ejbgen.Bean.createBeanSpecificTags(Bean.java:202)

[java] at com.bea.wls.ejbgen.Bean.\\<init\\>(Bean.java:127)
[java] at com.bea.wls.ejbgen.MessageDrivenBean.init(MessageDrivenBean
.java:29)
[java] at com.bea.wls.ejbgen.EJBFactory.createBean(EJBFactory.java:138)

[java] at com.bea.wls.ejbgen.EJBFactory.createBean(EJBFactory.java:99)
[java] at com.bea.wls.ejbgen.EJBGenSGen.initModule(EJBGenSGen.java:106)

[java] at com.bea.sgen.SGen.run(SGen.java:205)
[java] at com.bea.wls.ejbgen.EJBGen.main(EJBGen.java:212)
[java] at com.bea.wls.ejbgen.EJBGen.main(EJBGen.java:238)
[java] at weblogic.tools.ejbgen.EJBGen.main(EJBGen.java:21)

BUILD FAILED
D:\VIICApplication\build.xml:44: Java returned: 1

any help in resolving this issue will be greatly apprectiate.

Thanks
I am developing a web application with java/jsp as front end and oracle as back end.
The requirement is:
I am having some non english characters,I have to Insert these characters in oracle database,and later retrieve them and display them at front end.
I am not able to do it using Java Strings ,also oracle is not accepting non english characters
Can any one provide some solution to this problem
Appreciate u'r help in this regard.
21 years ago
why does java does'nt allow multilevel inheriance .
21 years ago
Hi,
I am new to ejb's.I want some information regd isolation levels
ejb container provides 4 levels of Transation isolation.
Transaction_read_uncommited
Transaction_read_commited
Transaction_repeatable_reads
Transaction_serializable.
What is the use of this isolation levels,pls explain with a practical scenario where each of this isolation level is used.
Thx
Mushtaq
As far Functionality is concerned.
1.Servlet is used for writing Control logic
2.Session bean is used for handling Business logic.
3.Entity bean represents data (It maps to a record in database)