835 byte By
tx56ma at 2007-11-27 1:37:57
Hi,I am basically familiar with how html pages work, but only doing my first web services so I am actually trying to compare both technologies together.What I want to achieve is a web service that not only provides information as a response but also able to update information in a database on a ...
I am using the following simple test program to print out the content type field for multiparts:// .. import statements .../** * Simple test for multipart emails. */public class SimpleEmailReader {/** Debug the Content Type field, adds spaces for indenting */private static void debugPart(Part ...
583 byte By
ed0a at 2007-11-27 1:40:37
Web Services Interoperability Technology, WSIT, ( http://java.sun.com/webservices/interop/) is an open-source implementation of next-generation web services technologies that deliver interoperability between Java EE and .Net. Project Tango (https://wsit.dev.java.net/) is a Sun initiative that ...
1812 byte By
popajcea at 2007-11-27 1:40:56
Hi,I have a problem setting up JNDi in my application, I looked for all topics on this forum about setting up JNDI on tomacat, but I didn't figured out what is wrong, or what I did wrong, so if anyone can help me, here is the content of my xml files:META_INF/context.xml :<?xml version="1.0" ...
1356 byte By
dhanu4ua at 2007-11-27 1:42:44
Hi all,I m facing a small issue. I have a xml file for which i have written a xsl file to transform to another xml(demo.xml).I am not able to select the nodes which have xmlns attribute. Can u tell me what has to be done.Snapshot of files:xml file:<ROWSET><ROW><INDEX ...
Hi ,I'm parsing one SAX parser , I'have almost done this parsing. i have faced problem for one case, i'e how can we get tag from XML file using SAX parser?XML file is <DFProperties> <AccessType> <Get/></AccessType><Description> ...
303 byte By
applet5a at 2007-11-27 1:42:52
Hi,I do need to access a web service from the jbi environment- without using any bpel- which is RPC-Encoded style (jax-ws doesn't read the wsdl).I don't find any tutorial/description, of how to do this!COULD SOMEONE PLEASE HELP ...
5453 byte By
Anhura at 2007-11-27 1:44:54
Hello folks!This is the first time I actually deal with XPath, XLink and Java but I didn't think I would meet so much troubles... but I hope they are trivial for you, Java gurus! :-)Well, the issue is this:I have an XML document with xlinks with xpointers. I have to read the xlink content ...
I want to start learning EJB. What books are recommended? Any suggestion?
Hello,I want to dynamically reload a class into an ejb on runtime. Is is right, that this can only be done by creating a new classloader for every reload?And if so, how about other dynamic classes, which are used in the first reloaded class. They then have to be reloaded again by the same ...
66 byte By
soumayaa at 2007-11-27 1:45:47
i want to know how to convert a static array to an xml file
1761 byte By
kslatera at 2007-11-27 1:46:07
I have downloaded the Open ESB + Addons - Netbeans 6 installer jar from the Open ESB home page and I'm attempting to deploy a simple echo service JBI SE. The code was generated by clicking New Project -> JBI Components -> Service Engine. The project builds just fine.After I start the ...
663 byte By
ed0a at 2007-11-27 1:47:22
OpenESB 2.0 is the next generation integration platform. It's built on interoperable, open standards such as Java Business Integration. OpenESB 2.0 also leverages Web Services Interoperability Technology (WSIT).WSIT is an open-source implementation of next-generation web services technologies ...
hi alli want to to try out an example for encrypting webservices with WS-SecuritySo i have a client and a server. the server ist very simple (see below). i ve created the client one time from the wsdl of the server and tried also to code the client without wsdl. both give me the same ...
897 byte By
bbarkera at 2007-11-27 1:47:54
I am relatively new to ESB and am looking at potential technologies to solve some problems I am currently working with. I read that in general an ESB provides publish and subscribe capabilities. Is OpenESB capable of publish and subscribe? If so how much information must be known about the ...
HI AllI want to remove <none> which is a attribute of <ftpl name=>. How should i handle this special character?<?xml version="1.0" encoding="UTF-8"?><ftpl id="47" name="<none>XXXXXXXX xxx xxxxxxxx"><abc-cab name="Systems" id="43434"><abc-dr name="zzzzz" ...
Hi all...am a newbie in j2ee...i have to send mails from my application...have written the code...but it gives an error like the smtp host specified, isunknown...can anyone pleaz tell me what r the things to be set up or what r the configurations to be done to send a mail using program...am ...
Hi, i am using the following class for sending mail:-/**This class encapsulates mailing to any person. it defines method that takes parametres * such as mail server address,sender and recipient address, userid and password of the * SMTP account **/package src; import java.util.*;import ...
Can any body tell me What is the exact or relative purpose of ejbPostCreate() method?
181 byte By
JShuShua at 2007-11-27 1:51:33
HiI knwo a java bean can contain simple types like String, Boolean etc.. And arrays.Can a java bean contain a property which type is also a java bean?10x
963 byte By
fonzia at 2007-11-27 1:52:20
I have been trying to compile the samples that came with the jaxws-ri download but I keep getting the following error:BUILD FAILEDC:\jaxws-ri\samples\annotations\build.xml:53: java.lang.UnsupportedClassVersionError: com/sun/tools/ws/ant/Apt (Unsupported major.minor version 49.0)I am getting the ...
// Client 1package nepe.client;import javax.ejb.EJB;import nepe.ejb.Nepe;/** * * @author java */public class NepeClient {@EJBstatic Nepe nepe;/** Creates a new instance of NepeClient */public NepeClient(String[] args) {}/*** @param args the command line arguments*/public static void ...
Books say ejbs have many kinds of clients, for example web components.If my client is a ui or a servlet having nothing to do with that ejb server, how can i call the ejb remotely. I know web services can achive that completely. But if not using ws, can my client get the ejb reference by other ...
108 byte By
kmena at 2007-11-27 1:53:29
Hi all,is it possible to monitor downloading or senting procedure of a message?regards.
77 byte By
kmena at 2007-11-27 1:53:37
I dont see any replies to old messages.Is this an active forum?
583 byte By
balu45a at 2007-11-27 1:53:41
Hi Everybody,In one interview, interviewer asked me abt satefull session beans.I said Stateful session beans are for maintaining conversational states b/w client. Then he asked immediately, Where it will store the conversational state i.e whether it is in database or some other place? like in ...
883 byte By
applet5a at 2007-11-27 1:53:42
Hi (again),I think, I finally understood the concept of the abstract service definitions.Nevertheless, one thing remains unexplained to me. If my self-coded BC (need to use axis for a specific legacy application, therefore coded an own BC) receives a MessageExchange in its thread started at the ...
I'm trying to use JAXB 2.1.3 with Sun Appserver 8.2, and I'm getting error saying jaxb.properties missing. I thought JAXB 2.X no longer create jaxb.properties.I have the following jars included in my webapp:jaxb-api.jarjaxb-impl.jarjavax.xml.bind.JAXBException: Unable to locate ...
I am trying to connect to My app server (sun web app 9.0_01)form a STAND ALONE CLIENT.i've tried using the jndi.properties file using:org.omg.CORBA.ORBInitialHost=200.1.1.220org.omg.CORBA.ORBInitialPort=3700and i get the error:Apr 22, 2007 7:01:12 PM ...
107 byte By
nsyed4a at 2007-11-27 1:56:05
I want to know if Business object delegate and service locator is necessary in EJB 3.0.Thanks
Hi guys,I'm beginner for webservice, and I wonder what it does?I have surfed the Net but i'm not to the point.Can any one of u give a realtime example , how it works and when to use it ?Thnks
hii am attaching excel file to the mail using java mail,it is rendering scrap code when i am opening in mail, it is working fine if it is a PNG imagepls..... help me out-package com.cypress.jetspeed.cyutils.common;import java.io.ByteArrayInputStream;import java.io.File;import ...
335 byte By
sagmana at 2007-11-27 1:57:43
Hi all,I'm new to EJB and have gone over the EE5 tutorial and its case studies, where app clients call some EBJs. But I'm still not sure what needs to be done in order to put the client on one Sun App Server and the EJB on another.Furthermore, what if both "sides" were EJBs? (no client-only ...
Hi ,I have one problem,Please help me.1. How can I'll identify where exactly my Node is ended,means how how can we find corresponding nodename? in partcular place<Node> ...
Hi,i am new for EJB.I am using CMP EJB2.X with jboss4 server. How can i store and retrieve date from database. When i call create then i creates a bean instance but it does not store passing values in create in database. And when i call findAll() then it does not give me the all records what ...
Hi All, I have written a program which converts all special characters in a invalid XML file.Problem is :- I want to convert special characters for tag values which makes XML invalid, but it converts whole XML file.. which again makes it invalid for me .. please find the code below public class ...
hi,I am working on a project where i have to send mails with embeded images.It works fine in while viewing in outlook but if send it to rediff or yahoo the images are not embeded. they are shown as attachment.Thanks in advance
hi,From an ejb classs, How can i access the classes in WEB-INF/classes folder of web application.I am using websphere application server.Thanks,Sridhar
392 byte By
Taigoa at 2007-11-27 1:59:25
hi! Can anyone tell me if is possible to make a DOM Jtree from several xml files that are located in one folder?Im using this file as an example: http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/dom/work/DomEcho05.javaHelp!! :(Message was edited by: TaigoMessage was edited by: ...
Hi there,When specifying persistence for message beans, how can I specify that the database I want to use is Java DB. I can't seem to find any article that relates to this.I'd appreciate your help.wgmartinez
I have SLSB and remote client application. SLSB is created using only standard annotations (without XML descriptors).Trying to deploy SLSB to Weblogic and JBoss I've discovered thatWL and JBoss bind the SLSB to different JNDI names, sothat my client application can not work transparently ...
I am able to read the messages from my local server which has surgemail. But my problem is 1. How to read only the uread mails.2. Is it possible copy/move the mails from the inbox folder to folder in my PC.I am using the same code as in the demos msgshow.javaThanks in ...
276 byte By
LukBa at 2007-11-27 2:00:44
I need to instrumet dynamically grid application. Can anybody explain me the difference between Enterprise Java Beans and Java Management Extension ? Is it possible combine this two technologies? I?m going to use JBoss server. Please for answers Thank in advance
590 byte By
debdxa at 2007-11-27 2:00:52
Hi All,I have created a web service client using Netbeans 5.5. Now my client classes has been generated. If the web service server url changes due to moving into production server i have to create the client again.But i need to make the web service client in such a way that the i will put the ...
Hi,I have a question about session beans, pojo's and database transactions.First a small explanation:* I have a stateless session bean calling simple pojo's that are responsible for table updates.* Each pojo creates his own database connection (via a pool) before executing the db update.My ...
2037 byte By
litoa at 2007-11-27 2:03:13
Hi,I am trying to extract some data from an XML file but the only thing I get in return is null.If someone could take a look at my code for suggestions I would greatly appreciate since I have been several days looking at it without luck. I am also including a sample file to test (Actually, it ...
112 byte By
mynaa at 2007-11-27 2:03:57
What happens to the message in the JMS Queue if the consumer is not ready to receive the messages?
113 byte By
mynaa at 2007-11-27 2:04:00
I know that the EJB container calls the MDB. But is there any way that the client can call the MDB?
Hello,Please help...How would you go about indentifying the shopping cart abandonment rate?Thanks!
428 byte By
-@-a at 2007-11-27 2:04:36
Section 15.3 of the EJB3 specification has a bullet as follows:?Application client containers, which host standalone applications.Typically, I would expect this to be a Swing client talking to an EJB over IIOP protocol. Section 15.3.2 seems to describe this in scenio's 2.1 and 2.2.Are ...