When deploying EJB, how and where should I specify DAO?
155 byte By
janetie at 2007-9-26 2:23:30
I got NameAlreadyBoundException for EJB server when I tried to start PNS in VAJave Websphere test Enviornment.Any help is appreciated.
1. Does the JavaMail API provide an implementation of an SMTP Server? 2. If not, does the JavaMail API architecture make provisions for an implementation of such a server?3. Has anyone done this work before, would there be some sort of SMTP Server implementation out there done under the ...
442 byte By
zhengzhu at 2007-9-26 2:25:12
Sorry if this been asked before.I am working on a project that sync data for two different companies which both has firewalls. We want to use JMS's persistence and exactly once feature. Can anyone show me the configuration examples for this case if across firewall is possible?Otherwise, if JMS ...
1052 byte By
mtndood at 2007-9-26 2:25:24
In the code below im trying to see what is in the text node for a bookmark. Instead of getting the contents of the node i get nothing. Help ? - - - my XML document - - -<?xml version="1.0"?> <!DOCTYPE folder SYSTEM "bookmark.dtd"> <folder name="Travel Sites"> <folder ...
195 byte By
isam_hk at 2007-9-26 2:25:40
I hv coded a simple program to send e-mail w/ Javamail api and it works under windows through smtp. But how about if i want to run the program under Dos?Thanks!
1641 byte By
malu4ram at 2007-9-26 2:25:57
Hi,I am trying to workout the example of statefull session bean example in weblogic 5.1I am able to successfully deploy it. When i call the client like this, i am getting the following error. I am using JDK1.3--error-C:\weblogic\myserver\clientclasses>java ...
100 byte By
Jchiquit at 2007-9-26 2:27:00
Can an Applet work like a client for an EJB? How can I do this?Thanks for all.
Can anybody give me a good explanation on the difference between Ejb's and javabeans....And also the advantages and disadvantages of both. Pl do help as soon as possible....I want to know that whether I should be using javabeans or Ejb's in my web-based site...which is a administration site ...
401 byte By
hairsinl at 2007-9-26 2:27:37
Does anyone know whether the EJB Development environment in Visual Age 3.5.3 supports EJB1.1? I know that Visual Age 3.5 only supports EJB1.0, and that Visual Age 4.0 supports EJB1.1, but I can't seem to find out which EJB version VAJ3.5.3 supports (I have looked in IBM documentation).Anyone ...
527 byte By
isam_hk at 2007-9-26 2:27:45
I hv wrote a little mail to receive e-mail w/ javamail api but found the following error:javax.mail.NoSuchProviderException: No provider for pop3at javax.mail.Session.getProvider(Session.java:249)at javax.mail.Session.getStore(Session.java:323)at javax.mail.Session.getStore(Session.java:303)at ...
Hi,I keep encountering a bottleneck whilst sending mails through the transport.connect, then transport.send method. I'm building a bulk emailer which has to send out personalised mails. A loop is used to scroll through recipient email address' and build a personalised mail but each time I get ...
Hello all,Does anyone know how to generate a BDTD from a standard DTDfile? I've written an HTML Parser in Java that worksgreat, except for the fact that I'm using the HTML32.BDTD file.Anyone have any idea?Thanks,Asgherasgher@lww.org
Hi allMy problem is how do I extract the XML Document embeded in the Envelope Is there a method to do the same Since it is present in the cdata section as a string How do i reconvert it to a XML document I am using jdom TIASanjay
I have a string ...sayString Content="<?xml version="1.0"?><page_data><template>home.htt</template><template_data></template_data><content><main><![CDATA[><div><span class="Heading2">Welcome to ...
My web application may have about 10000 logins at a time and at my design stage should i decide about using all throughtout only stateless session bean with methods to connect to databse being informix9.2, and invoke any kind of DML statements directly, rather than having a CMP/BMP Entity ...
807 byte By
abaman at 2007-9-26 2:29:07
Hi,can some one help me resolving my prolem. I use the SAX Parser to parse an XML file on an NT machine with jdk 1.3.0_02 and java Hotspot VM installed. the parser works with small XML files. when i try to run on a large file an SAXParserException is thrown and the following message has been ...
I have an xml data which is as follows<?xml version="1.0" ?> - <page_data> <template>home.htt</template> <template_data /> - <content>- <main>- <![CDATA[ ><div><span class="Heading2">Welcome to ...
425 byte By
jcshroff at 2007-9-26 2:29:34
Hi,I'd like to know how can we save an XML document using the JAXP 1.1 API. I have been manipulating an XML document using the JAXP API using setNodeValue and other methods in the Document and Node interfaces, but there is no method available in the API for saving the XML document after ...
Can anyone tell me how scalable the server included with the J2EE download is? Is it meant just for testing/learning or is it capable of supporting real apps?Thanks and have a great day!Kaye
265 byte By
mtndood at 2007-9-26 2:30:29
Im trying to get the text inside an Element. For exampleWhy is it when i call getNodeValue on a Text node that i get nothing but if I call getFirstChild().getNodeValue on the Element node just above it I can get the text just fine. What gives ?
Hi,I have JApplet, it connects to database, reads it and stores some data in my data structure, then it creates tree from the data which it has read.I want that when a user clicks on any JTree node then it should display all the information about that node in particular format,so what should i ...
718 byte By
thotha3 at 2007-9-26 2:34:46
Hi All, I have a program that takes an XML file(has DTD and XML in the same file) as input. After parsing it, the output is written into a specified file. The output has first few lines of the DTD and the entire XML part, but is not having the ELEMENT and ATTLIST lines of the DTD. My code runs ...
HI All,I am new to Weblogic.I am trying out an example.Which contains 3 EJB's one session and two entities.It also has JSP's as clients.I need information as how to deploy those JSP's( I mean which folder of weblogic) so that weblogic will run as both app server as well as a webserver.I am ...
204 byte By
sadac at 2007-9-26 2:36:20
hi everybody,i am just starting with JDOM.could somebody tell me what classes i should download,from which site.where can i get the examples.thanks U very much.sadananda
should we use wrapper classes as attributes or use primitive data types as attributes to present the database?
385 byte By
eborisow at 2007-9-26 2:37:53
Hi, I am trying to read data that has embedded HTML in an XML document. For example:<data><a href="/mygif.gif">A picture</a></data>So, I am finding the <data> tags, but when I try to read the text using the characters method, I receive a blank. I am using JDK 1.1.8 ...
707 byte By
ZawarDev at 2007-9-26 2:37:55
hi,I got a simple question about messagedriven beans.My MDB is deployed with container managed transaction, attribute "required". According to the specification, this causes the transaction to be rolled back if an exception is thrown.Will an exception catched within the onMessage method be ...
286 byte By
tengj6 at 2007-9-26 2:38:28
Hi,I am preparing a proposal to push J2EE as our enterprise application standard. I don't know what methodology we should use to develop J2EE application, it seems that water-fall is not a good idea here. Could anybody help? Thanks in advance.
267 byte By
6tr6tr at 2007-9-26 2:38:49
Microsoft has an ADO Driver for XML, so you can treat it like a database. It has recordsets, paging, etc. (including queries with updates, inserts, deletes...).Does anyone know if such a thing exists in Java? If not, anyone feel like writing one?
I apologize in advance if this topic has been adressed elsewhere.I am using Forte with the J2EE IDE, and I would like to be able to use a remote bean server to test my client. What options do I need to set to allow the client running through Forte to connect to a remote bean server? ...
215 byte By
rsg8 at 2007-9-26 2:40:08
How do i handle in SAX parser &for example if my xml file look like this<book><title>xyz&abc</title></book>How would i get xyy&abc
Hi,Does anyone know if there is any tool which can extract database schema information to XML file?Thanks in advance!
372 byte By
yonatanm at 2007-9-26 2:41:15
Hi all I am a prityy much "novice" in xml / xsl but I did some simple stuff. when I add a small hebrew word to my xml I got an exception" javax.xml.transform.TransformerException: An invalid XML character (Unicode: 0xf8) was found in the element content of the document."I use xalan.jar and ...
2756 byte By
bgw2 at 2007-9-26 2:41:39
I'm developing a web based application that uses multiple frames in abrowser window. Three of those frames go to a stateful session EJB to getthe data to be displayed in them (it's different data that's all held in acommon session).What I'm finding is that I often get an exception thrown ...
Had an unusal problem this afternoon with J2EE Ref Impl 1.2.1. Some students in class did not use the standard for names. They created a remote interface with the following name "bankteller", the home was "banktellerHome", and the bean was "banktellerBean".When we tried to deploy we kept ...
Hi,Is there any source version constroll tool which is free and available on the internet?Just like "www.freedrive.com". Thanks in advance!
1166 byte By
muralira at 2007-9-26 2:42:07
Hello everyone, This is Murali. Learning JMS. Can anyone help me the following problem. I run the two programs in the example they are compiled and i run the j2ee server , that is also running fileBut when i came to the below step I'm unable to do that following I mention the step and error ...
355 byte By
muralira at 2007-9-26 2:42:10
Hi I'm strcuk at the above step.when i type the following commandj2eeadmin -addJmsDestination MyQueue queue I got the following errors. 'j2eeadmin' is not recognized as an internal or externalcommand,operable program or batch file. can anybody help with these? ThanksMurali ...
756 byte By
muralira at 2007-9-26 2:42:12
Hello everyoneI set the j2ee.jar in the classpath and after compiled the example given in the documentation I got problems in Creating the JMS Administered ObjectsC:\jms>j2eeadmin -addJmsDestination MyQueue queue'j2eeadmin' is not recognized as an internal or external command, operable ...
1162 byte By
isam_hk at 2007-9-26 2:42:27
Please help I found the error of "no provider for pop3" when I run the following program in my office (using proxy to internet but the pop3 a/c is work for my outlook to rcv e-mail). However, that's no error prompt out when running at home but nothing to display even there are two msgs in my ...
653 byte By
nphelps at 2007-9-26 2:42:51
I am happy to announce that the next release of Active JMS is now available for download. It contains many fixes and enhancements. Additionally it includes many samples in Visual Basic and Python.Active JMS is a freely available, non-proprietary, open source ActiveX JMS client API. With it, you ...
141 byte By
cl_81 at 2007-9-26 2:43:35
Hi, I'm new to xml can anyone introduce me some tools to generate xml documents? or some faster way to generate xml documents.
255 byte By
zrx at 2007-9-26 2:44:05
Hello,How to read mails with unsupported charset ? I got mail with cp1252 charset, but can not read it because:UnsupportedEncodingException cp1252Is possible to convert that charset to ISO8859_1 or something ?-zrx
244 byte By
K.Tomono at 2007-9-26 2:44:14
Hello all.Does anyone tell me, Which is better on MIME either BASE64 or Quoted-Printable?I'm not so familiar with MIME.Any Opinion will be appreciated.Thanks.p.s.excuse me for my english.
403 byte By
hoson at 2007-9-26 2:44:52
Hi All,I have 2 tables now. One is master table and the other one is table showing details of master table. So, primary key fields in detail table are foreign keys of master table.If it is so, how can I represent these 2 tables using Entity Bean? Should I use one entity bean for each table? Or ...
I need to connect my entity bean to 2 separate tables; On Create of the entity bean I should be able to insert record into 2 tables ,where each table has different fields? Another thing i have been able to do this using BMP but how to do it with CMP ? Please tell me how will i map two or more ...
99 byte By
ermahen at 2007-9-26 2:46:42
Hi!Anyone who can give me a tip on where I can download different XML parsers?
What is the date you plan to start publishing chapters to the forum.
How do we code or program to an XML file with different languages , say english and spanish. WHen we parse such a document with the default locale , the presence of special characters throws errors .For eg when I use xerces and use DOMParser parser = new DOMParser();try{ // Parse the XML ...