87 byte By
zikman23 at 2007-9-26 3:57:57
i need a code simple on how to delete an element node and his attributes
6606 byte By
ericp56 at 2007-9-26 3:58:41
I had J2EE running for about an hour and I can no longer bring it up.J2ee loaded fine. I could see localhost:8000 in my browser.I tried to deploy the ConverterApp demo so I could test out J2EE.When I clicked on "Generate SQL," the deploytool froze. I had to kill it. Since then, J2ee no longer ...
1243 byte By
venka001 at 2007-9-26 3:59:13
Hi all,I just installed jdk1.3.1 & j2sdkee1.3 on Win 95.Then in order to start the J2EE server I executed these in a DOS prompt, I am getting this error...C:\> Set path=c:\J2sdkee1.3\bin;C:\Jdk1.3.1\bin;C:\Jdk1.3.1\Jre\lib;%path%;C:\> Set J2EE_CLASSPATH=C:\JDK1.3.1\lib;C:\> ...
Hi,I am new to XML, I have to use a DOM parser to read the data from a XML file, please provide me a sample code for the same.ThanksSathish
915 byte By
Schlepp at 2007-9-26 3:59:22
Hello,I am having problems with J2EE 1.3 beta deploying an application that uses jsp directives for importing. All the other developers in my team are using the 1.2 version of the J2EE SDK and have no problems, but I thought I would try the 1.3 version. In our JSPs, we have lines ...
Hi all,can somebody help me on this.....TraderHome traderHome =(TraderHome) PortableRemoteObject.narrow(home, TraderHome.class);this is cast to a particular type. Can i dont the same type of casting Dynamically at runtimethat is .....String homeName = "com.x.MyHome";"com.x.MyHome" traderHome ...
500 byte By
urciolo at 2007-9-26 3:59:25
Somewhat generic question:Hello, am considering a JMS setup where I have a queue on a server for all attached clients to pull messages from based on a filter.I was thinking of using a clientID generated by a server a filter for messages. Hoever, if a client needs to recieve this clientID in a ...
183 byte By
lj75 at 2007-9-26 3:59:49
Hi all:Can you recommend some good tutorials on EJB? I am a beginner on this, so a beginner/intermediate level tutorial would be appreciated.Thanks!
413 byte By
hiuyungw at 2007-9-26 4:00:11
I got nosuchmethod SAXParser.getXMLReader() exception at run time in jsp file when I excute the following code:SAXParserFactory factory=SAXParserFactory.newInstance();SAXParser parser=factory.newSAXParser();XMLReader reader=parser.getXMLReader();I used jakarta-tomcat-3.2.3.But, when I wrote the ...
783 byte By
tnr009 at 2007-9-26 4:01:01
Hi,Can someone help me with providing some code on how to strip off the XML tags in an XML file like the following:<?xml version = '1.0'?><!--<?xml-stylesheet type="text/xsl" href="XYZ.xsl"?> --><ROWSET><ROW ...
1272 byte By
huimu at 2007-9-26 4:01:05
Hello all,I am just a beginner for EJB, and writing a simple example of EJB. Some questions confuse me.1.about serverI just use JDK1.3.1 and JSDKEE1.3, is it all right? Do I need another things, for instance, weblogic ( what is this?)?2.about deploymentI wrote some code( CMP) include: home ...
215 byte By
ajoy_raj at 2007-9-26 4:01:17
hi,Does anyone know whether we can use JSDT (Java Shared Data Toolkit) on an EJB server ... Please provide me any pointers or urls you may have regarding the same.thanx,Ajoy
80 byte By
Myjammin at 2007-9-26 4:01:46
How to manage transactions for Stateful or Stateless session beans
163 byte By
zikman23 at 2007-9-26 4:02:31
i have a big and comlex xml document i need a code example for deleteing a node with his attributes and then how to save the remaining xml in a file.
2710 byte By
amtanoli at 2007-9-26 4:02:36
hi,i am trying to read and update the CLOB and BLOB datatypes in my entity bean. within an ordinary java class the same code works well. but when i deploy the bean with same code to read/write LOBS in weblogic 5.1, following exceptions are thrown, while reaching the ...
420 byte By
henrik-a at 2007-9-26 4:03:33
Hi, I'm using JMS to connect and send messages to a MQ Series 2.1 server.The connection works fine but when I send a message it is automaticly routed to the dead letter queue.Error message code is 2021 - something like "message format error". Is it possible that our MQ server is too old to ...
446 byte By
usam at 2007-9-26 4:03:51
Hello,I'm new to JAXP and I have this problem. Perhaps someone can help me:I have a database. I get data with many select-statements over some tables. Now I want to get one XML-String/-File with the data. The Problem is, I have to cascade these data.I have to build dynamically the ...
455 byte By
ddwb at 2007-9-26 4:04:38
HI,I'm trying to send an e-mail with a contentType of "text/html". I'm able use the addHeader() method to set the contentType successfully, but when I try and set the body of text, the setText() method defaults the contentType to "text/plain". How do you set the body of text for an e-mail ...
586 byte By
venka001 at 2007-9-26 4:05:15
Hi All,I am trying to follow the J2ee tutorial examples. But whentrying to use ant I am getting this error...please helpMy ANT_HOME =C:\jakarta-ant-1.4beta1And My path includes C:\jakarta-ant-1.4beta1\binamong the other.C:\j2sdkee1.2.1\j2eetutorial\examples\src>ant converterBad command or ...
Hi,I am new to XML(two days).I need a sample code using Sax parser using DTD to validate and retrieve elements.ThanksSathishA portion of XML looks like<address> <address1>2000 Test Rd.</address1> <address2>Apt 1</address2> <city>Fremont</city> ...
This error comes when i am trying to run a servlet to send email. How can i get rid of this and get it to work. To look at the source code please see: http://forums.java.sun.com/thread.jsp?forum=31&thread=133501
404 byte By
fakkundo at 2007-9-26 4:06:51
I have download de java mail example from sun, and I tryed to send a mail with a picture. But I couldn't send the mail. I recived a mail that say that the smtp server did not reach the recipient(s).One thing I want to ask is: Don't I need to put the password of the smtp server? If yes, ...
941 byte By
Omnigunk at 2007-9-26 4:07:00
I'm trying to install the Java Embedded Server Framework and I did it like this! I extracted setup.class into g:\jes2.0. My jdk is installed in "G:\winnt\jdk\bin". I add "g:\jes2.0" to my environment variable based on the help file"Make sure your CLASSPATH environment variable contains . (the ...
I'm using a Sax Parser on a streaming XML feed and this feed has some errors in it, so I need to know if there is any way to catch the error and continue parsing.Thanks,Mass
309 byte By
Brunky at 2007-9-26 4:07:26
Is there a way to tell which parser, Oracle, Xerces, Sun, is being used under JDOM. I'm getting a SAXBuilder, but I want to make sure it's using the right parser underneath. I know how to set it, but I want to know how to prove that's what is being used.Thanks in advance,Brunky ...
512 byte By
adwillia at 2007-9-26 4:07:38
Hi,I am trying to access all of the folders of outlook and I have had some luck. I have run into problems with the calendar. I can get all of the information out except for the start and end times of the meeting (rather important pieces of data). I printed out all of the headers and was not ...
163 byte By
Brunky at 2007-9-26 4:07:47
Has anybody been able to use a Sax2 parser with JDOM other than xerces. java -Djavax.xml.parsers.SAXParserFactory=?Thanks,Brunky
209 byte By
Duker at 2007-9-26 4:08:00
Hi When the compile the sample code Echo10.java, I am getting an error saying Attributes, DefaultHandler are not found. Please let me know in what pakage these classes will be there
390 byte By
petermok at 2007-9-26 4:08:39
I am new to EJB. I understand that using home.create(int productID, String description...etc) will call the the ejbCreate(int productID, String description...etc) in the Bean (container managed) and the new data will be added to the database. What happen if the productID in my database is a ...
454 byte By
sa1233 at 2007-9-26 4:08:49
Hi, I installed j2sdkee1.2.2 . I set the class path as c:\j2sdkee1.2.1\lib\j2ee.jar and PATH as "c:\j2sdkee1.2.1\bin;c:\j2sdkee1.2.1\lib". I also edited userconfig.bat under \bin directory and set J2EE_HOME=c:\j2sdkee1.2.1. Everytime I try to start the server with "j2ee -verbose" I get the ...
Hello friends,how can we determine the size of a file from the system before uploading it i dont see any method in file class that can get me the size of fileUrgent!!!!!!!!!!!!!!!!!!!!11
I am new To Java-XML Technology is any one here kind enough to help me hopw to proceed further, what to download , how and from where to get help .
Hi allI'm writing a small server-program that receives and sends XML data. For this, I'm using the jdom and the xerces packages. My code compiles fine, but at runtime it yields a NoSuchMethodError for the jdom startElement method I am trying to use and propagates throught further jdom and ...
182 byte By
rahulkz at 2007-9-26 4:10:08
Hi friends,i am new to JMS.Where i can get good resources on JMSPlease suggest books and web linksThanks in advanceRahul Zulknathiwar
554 byte By
amtanoli at 2007-9-26 4:10:59
hi,i am working with weblogic 5.1, oracle 8 and linux 7.0. i am trying to use weblogic JDriver for Oracle. but the problem is that, how to set the path for JDriver. there is no entry in the weblogic documentation for linux for the directory to be included in the LD_LIBRARY_PATH. i have tried ...
I am a beginner and I want to know in details about normal bean and enterprise bean.Well in the beginning I have some problem understanding of doing the implementation by customer to build beans and enterprise beans....so I want it to be more specific in comparison between this two ...
221 byte By
wodefey at 2007-9-26 4:13:39
What entries should you make in the binding schema for:<rate year="2001">7.00</rate>so that it constructs a class rate with a field "content" as a double and a field year as an int?
214 byte By
tlm at 2007-9-26 4:14:03
Can someone explain why getSeparator() is on the Folder object rather than the Store object?It seems unlikely that the folder path delimiter would vary across folders on a server.Thanks.
348 byte By
Brunky at 2007-9-26 4:15:01
I have been evaluating JDOM and came to the conclusion that we cannot use it because it will not work well with JAXM. Anybody know anything to the contrary?JAXM returns w3c.org objects and JDOM does not let you create a JDOM object from DOM, very easily if at all. I'd love to hear that I'm ...
i've been looking in vain for a download of the j2ee 1.2.1 api documentation that's available at http://java.sun.com/j2ee/j2sdkee/techdocs/api/index.html.i'd greatly appreciate it if you can show me the way. thanks in advance.Ben
1493 byte By
reavels at 2007-9-26 4:15:29
Hi,I have found that when I send concurrent requests to my EJB hosted on WLS6.1 the response time goes up by 700% i.e. average response for my single threaded client is 10ms, average response for my multi-threaded client is 70ms. It is not all bad news, because the throughput is actually 300% ...
412 byte By
babaji at 2007-9-26 4:15:33
Hi,I am a java programmer. I have worked with applets,servlets, jdbc, etc., but I have never worked with EJB'sIs there a good tutorial of it? Does it depend on certainAPI's? Where can I find the classes? I would like to learnand to develop some applications with EJB's. I will appreciate a ...
Hello there,I have an existing application and we need to write the saving code. We would like to be able to save to XML. I've been looking at the docs for JAXB to see if this will work for me, and it seems that in order to use it you need to write a bunch of definition files, and then use the ...
Hi~~I am learning how to propram with java mail API,so I want to run it's demo program first.Now I can run the demo servlet in java mail.It can get all mails,but the attachments appear on the web browser directly not a jpg format pictures but a lot of strange codes.I wish the attachment will ...
286 byte By
msyal at 2007-9-26 4:16:14
I want to use a scheduler , which will invoke a particular task at a particular time. Does Application server provides a scheduler or I have to create my own scheduler. I need to invoke a method in a bean at a particular day and time set
Any one can help me understand how to load an xml file with sax1.1 api?And hoew to append unique child nodes to an existing xml file..
916 byte By
usam at 2007-9-26 4:16:43
Hey,I 've tried to replace a Node, but I failed.Here is the code:newNode is the new nodeNodeList nodelist=document.getElementsByTagName("vorname");Node thisNode=nodelist.item(0);NodeList nodelist2=thisNode.getChildNodes();Node node=nodelist2.item(0);if (node.getNodeType()==Node.TEXT_NODE){if ...
347 byte By
netbug21 at 2007-9-26 4:16:52
Hi,We are developing several entity beans which have identical business methods but associated with different db tables. (Those tables have same schema but table name). As a result these entity beans have same remote and home interfaces. Could we have them share a set of remote and home ...
382 byte By
j_a_v_a at 2007-9-26 4:17:08
I have several RMI connections to an RMI server and I have to store the remote interfaces of the clients for further communication. Is it possible to store a remote interface in a session bean? The client would then have some kind of reference to that bean and the ejb container doesn't kill ...
Anyone know how one can expose an object to an XSL Transformation?Its kind of similar to an 'extension' only that the XSL can't create the 'instance of' or use the 'static instance of' the object, the object needs to be created and populated by a servlet and somehow exposed to the ...