Chris Da

Greenhorn
+ Follow
since Apr 10, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Chris Da

Hi All,

I am writing Message Driven Bean using EJB3 annotations and need to be deploy in JBoss5.1.0. My Queue is running on IBM WS MQ Server. I am confused with number of xml names(jboss-service.xml, destinations-service.xml) to configure JNDI properties.

My question is Once I write MDB, where I need to configure my queue details, which can change for each environment(dev, qa, prod) with out touching My MDB again.

Can you please provide me any sample MDB with all configurations entries. I have wasted 2 days of time and confused with n number of options .

My queue details contains: Queue Manager, Chanel1, host name, port, transport type and I have used userID, password for creating connection
conn = cf.createQueueConnection("userID","password") -- When I wrote a listener without Context object.

Please give me suggestions or provide me any sample code.

Thanks
Kris
Thank you very much Shahnawaz Shakil for your information.

Know I am using JSP with Sturts/Servlets for my Mobile web application.
Can it support in all mobiles other than IPhone?
If not support, what would be alternative?

Please suggest me.

Thanks and Regards
Kris
14 years ago
iOS
Hi Mark,

Thank you very much for your response.

I understood that iPhone doesn't support wml. Now I am using mac OS.
Can you suggest me what are the technologies, I can use for my application.

I mean HTML, Servlets or any dynamic pages we can use?

Thanks in advance for your time.

Regards
Kris
14 years ago
iOS
Hi,

I am planning develop one small application, using wml, strtus and Tomcat6.0. Would like to test in Iphone.
I am using windows xp computer.

Please recommend any sample codes and iphone simulators.

Thanks in advance.

Regards
Kris

14 years ago
iOS
Hi Mark,
Thank you very much for your response.
I have tried with following code, however it doesn't work, getting same error message


<property name="mappingResources">
<list>
<value>/spring/swh/user.hbm.xml</value>
</list>
</property>

I am really wondering why it is not working.
Appreciate your help.

Regards
Kris
Hi All,

I am trying to write one example for spring and hibernate usage. I am getting the following error in ApplicationContext.xml.
Can you please guide me.

Error:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySessionFactory' defined in class path resource [spring/swh/ApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1175)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory

************************************************************************************************************

ApplicationContext.xml

***********************************************************
Servlet Invocation


ApplicationContext ctx = new ClassPathXmlApplicationContext("/spring/swh/ApplicationContext.xml");
BeanFactory factory=(BeanFactory)ctx;


Thanks in Advance.

Regards
Kris