"2 XML string which have the data for accounts and contracts of the client and then on the other side we have a application which has front end in EJB stuff and now the problem is we need to pass those 2 XML String in that EJB application"
If the xml string is just for UserInterface purpose one can have a documentreader EJB to read the string and value objects, that can be populated and used in the
JSP.
But if you need to persist the xml string again through the EJB in the other application, u might want to design the Document reader EJB as a facade that feeds into an asynchronous data consumer.
pls elaborate the scenario,
cheers
mpr