Rajesh Rathod

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

Recent posts by Rajesh Rathod

Hi All,

I want to fire a batch update query in my struts-ejb3 application.
Can someone please help me in suggesting how to fire a batch update query in ejb3?

Thanks.
Hi,
my problem is the same as what anand posted. I want to show a scrollable list with reordering supported. The list can be a ul-li or a select element any of them. In Scriptaculous i was able to find reordering of lists but i want to have a scrollable list here as the number of elements can exceed the page size. Any suggestions on this please?
Can you tell me what are the files you are making and deploying a application???
Hi Jaikiran,

We have included all the jar files on both client and server side which is having same version.

On both server and client side we copied these jars from lib directory of Jboss Server.


Thanks
Hi krishnamoorthy,

Thanks for your answer.

I am still not able to get your point. We did restart the server after making the changes. You mentioned a change in the deployment descriptor file which file is that?

I am using EJB3.0

Thanks
Hi, I am trying to access a remote stateless bean from a standalone client. I am using JBOSS application server.But I am getting the following exception:

javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.stateless.StatelessRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 2583299153931800023, local class serialVersionUID = -9097306519795868]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:723)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.ejb.bean.FirstEJB3TutorialClient.main(FirstEJB3TutorialClient.java:20)

where FirstEJB3TutorialClient.java is my client application running on a separate machine.

The code snippets for the various classes used are as follows:

BookTestBeanRemote interface:
@Remote
public interface BookTestBeanRemote {
public void testBook();
public void testCustomer();
public void testRelation();
}

BookTestBean class:

@Stateless
@RemoteBinding(jndiBinding="testBean")

public class BookTestBean implements BookTestBeanRemote {

@PersistenceContext

EntityManager em;

FirstEJB3TutorialClient class:

public class FirstEJB3TutorialClient {
public static void main(String[] args) {
try {
Properties properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
properties.put(Context.URL_PKG_PREFIXES,
"org.jboss.naming rg.jnp.interfaces");
properties.put(Context.PROVIDER_URL, "10.0.5.243:1099");
Context context = new InitialContext(properties);
BookTestBeanRemote beanRemote = (BookTestBeanRemote) context
.lookup("testBean");

beanRemote.testBook();

where 10.0.5.243 is the IP address of the server where JBOSS server is running.

Can someone please help me out??

Thanks
Hi, I am trying to access a remote stateless bean from a standalone client. I am using JBOSS application server.But I am getting the following exception:



where FirstEJB3TutorialClient.java is my client application running on a separate machine.

The code snippets for the various classes used are as follows:



where 10.0.5.243 is the IP address of the server where JBOSS server is running.

Can someone please help me out??

Thanks
hi Christophe,

Thanks for your answer.

My doubt is that when i put System.out.println() inside this method initApplicationContext() method it was not printed. So my question is when this method will be invoked while application is run.

Thanks.
Hello friends,

I am new in Spring framework. I am making one small application using AbstractController. When i was reading about AbstractController i came across initApplicationContext() method. I tried to search lot of thing but i am not able to digest the concept of this method.

So here can anybody Please tell me the use of this method and how to call it into the implementation class.


Thanks in advance.
Hi,

I am making one spring application in which i read some data from the database and displaying that data into JSP.
But my constraint is that the data which displayed in JSP must be in XML format. I am getting the data but it's in simple String format(as we displayed messages in JSP) instead it should be in XML format

Thanks in advance
hi,

You can use displaytag.jar for pagination..
17 years ago
JSP
Hi friends,

I am making an spring application which take a URL parameter and generate the xml according to the parameter. If i am making an xml file then it prints the data successfully but i want to display that data in JSP as a xml data

something like this:
demo.jsp

So please me..it's very urgent!!!

Thanks in advance.



[BSouther: Added UBB CODE tags]
[ August 16, 2007: Message edited by: Ben Souther ]
17 years ago
JSP
Hi Vijaya,

Can you please mail me the material which you refer for preparation. I needed it unrgently.
This will be a great help.

Thanks in advance.
17 years ago