hi allours is going to be a e-trading website, which includes a lot of huge sized JSP(up to 80 kb),html,script files and access to session beans with not much gifs and jpeg files.but the problem at the helm is, most of the pages of our site takes 30-50 seconds to load.and to the utmost surprise ...
hi allours is going to be a e-trading website, which includes a lot of huge sized JSP(up to 80 kb),html,script files and access to session beans with not much gifs and jpeg files.but the problem at the helm is, most of the pages of our site takes 30-50 seconds to load.and to the utmost surprise ...
Urgenti need to read a Document with japanese and all i get is a mark quetions how can i do it with jaxp (sax) :(
I am working on XML,DTD,XSLT and parsing for the first time.I am doing a study on the use of saxon as the parser to parse an xml document. I have familiarity in Xerces and i know tht there is a method called createDocument() which returns an entire XML document in treeformat.I would like to ...
i am starting work on ejbs .the first thing i want to know is how to find an ejb api.I have searched the whole of java site but without success.can anyone help me start on with ejbs.Thank you.
1648 byte By
tonghe at 2007-9-26 8:37:42
Hi all,I am developing a Stateful session bean that has a Connection object as its instance variable. And this bean starts transaction that spans across multiple method calls and finally either commit or rollback. BeanClass{UserTransaction utx;Connection ...
hi thereI can't send the user and password in clear text.How can I encrypt the user and password in the POP3 protocol using JavaMail ?Is possible using JavaMail send APOP command or have other way ?Thanks a lotBest RegardJose Augusto Paschenda ...
196 byte By
mench99 at 2007-9-26 8:38:10
Hi,just wondering if you can view other folders besides the inbox.We are using groupwise and we want to access a shared folder instead of the actual inbox.Thanks
Is there somebody who can tel me where to findclass com.sun.xml.tree.XmlDocument. I have some samples which i want to compile but i get a message that the XmlDocument class is not found. In my Jaxp classes is no class with that name.So if there is somebody who knows that please answerWith ...
384 byte By
pillingc at 2007-9-26 8:38:43
installed jdk1.3 and j2sdkee1.3 to my NT wkstnset JAVA_HOME and J2EE_HOME and PATH variableswhen i run j2ee.bat i get the following errorERROR: Set J2EE_HOME before running this script. can anyone explain why this is happening - when i run set J2EE at a command prompt i see the right path and ...
263 byte By
cknelsen at 2007-9-26 8:38:58
I need to send a message where the body content is in Rich Text Format. This is because the text is in French with accented words. Is there an existing Java class that would help me do this? Some searching so far has not revealed anything. Thanks...
1322 byte By
brankoa at 2007-9-26 8:39:43
Try to use Transformer class on Applet to load Document into string. Code looks like:TransformerFactory tFactory =TransformerFactory.newInstance();Transformer transformer = tFactory.newTransformer();DOMSource source = new DOMSource(document);StringWriter strWrite = new ...
1088 byte By
AdenaG at 2007-9-26 8:39:59
A question for architects:My application needs to collect information via a PDA (Windows CE) andvia a browser-based application, and then send that information to adatabase. It then needs to pass other information back from thedatabase to the PDA and the browser. The plan is to pass ...
801 byte By
smart28p at 2007-9-26 8:40:13
Hi friendsI see lots of others have had problems with mail, but I have searched for this error without finding anything so hope someone can help me.I have a smtp mail from the JavaGuru examples which works fine when sending an email with sender and recipient on the same unix server, but when ...
1469 byte By
nelsg1 at 2007-9-26 8:40:34
Hello:I have successfully run the echo01 program from the XML tutorial. I made the following changes to parse the output from a servlet which generates an XML document.URL recordedSensor = new URL(" http://redbd01:8010/servlet/RecordedSensor?vin=1M000000000000001");URLConnection rsConn = ...
1265 byte By
hattan at 2007-9-26 8:40:35
HiI'm trying to use the SAXParser to parse an XML file. I created a class that extends DefaultHandler and passed that class in to SAXParser. The data I am reading in is via a socket connection. I then strip out the header information and pass the input stream into the SAXParser instance. ...
544 byte By
sellare at 2007-9-26 8:41:14
Hi,I have a question. Now I am playing the first example of EJB tutorial offered by SUN: http://developer.java.sun.com/developer/onlineTraining/J2EE/Intro/ But when I tried to use the verifier of deploytool to check my EJB deployment. It gave me a failed message like: Unexpected error in ...
174 byte By
varnan at 2007-9-26 8:41:15
hi all,While using J2ee, when I try to use deploytool i get the error-out of enviornment space. Can anyone tell me what could have caused such a problem?
hi,i want to develop an application which can keep track a mail.for example a candidate x sends a mail to y,now y forward it to z.now x want to know the status of his mail.how i can keep track the status of this mail.suggestions welcome .with regards,siba ...
271 byte By
mtledi at 2007-9-26 8:42:07
Do any one know what latest versions of the following items are supported by HP-UNIX 10.201. J2EE version?2. JDK version? (is it upto 1.1.8 or more?)3. JSP version?4. EJB version?5. servelt version?Please advice me.
6631 byte By
menkhaus at 2007-9-26 8:42:31
Systems:- Windows 2000 Pro- J2EE 1.3 (depoytool 1.3)I try to install from the java message service tutorial the chapter 10 excercise (application example that uses 2 J2EE server):I start the app server on both machines. Then I start the deploytool on machineLocal (localhost).I add localhost to ...
474 byte By
danbunea at 2007-9-26 8:42:35
Is there anybody that can guide me with a good example for implementing concurrency control with ejbs?Lets say I have a sistem that needs to lock a product while a customer puts it in his shopping bag and if the customer does not buy it in the end, to unlock it.Now I have read about both ...
1083 byte By
sunrusso at 2007-9-26 8:43:31
Hello everybody,following problem: I have a client that invokes a server-object that performs some specific task. Now this task could take longer time, so the client could terminate and is informed later that the server-task is finished e.g. with an e-mail.In my scenario the browser and a ...
329 byte By
dilip007 at 2007-9-26 8:43:56
hi,I am working on some java based XML applications. I have placed all tha jar files in their proper class paths and there is no compilation error but once I try to run that I get the following errorjava.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodErrorany idea whats going on ...
Hi, when i send a message with ' character, i received this error from microsoft exchage: the message can't be displayed because Charset is not supported from internet service.What can i do to resolve this problem?Thanks in advance.Daniele.Ps= excuse me for my english. I have translate the ...
146 byte By
gercon at 2007-9-26 8:44:44
Are there are any restrictions on enterprise beans opening and reading files? I have never seen it discussed anywhere.
1386 byte By
endoc at 2007-9-26 8:46:02
The scenario is as follows.In order to integrate legacy functionality I am running my app on websphere 3.5 on NT. At a certain point the servlet engine needs to connect to a stateless session bean running on Websphere 3.02 on Solaris. When hitting the servlet in the VAJ WS Test Env. there is ...
662 byte By
leurmy at 2007-9-26 8:46:06
I'm looking at the examples for Entity Beans from the J2EE Tutorial and to me there is something that doesn't make any sense. For instance for the SavingsAccountBean whenever a client wants to make a deposit, it creates a brand new account in the database with the ejbCreate method and then ...
876 byte By
EdR at 2007-9-26 8:46:19
Hi all,I wrote some XML tools a few months back using the Crimson, JAXP, and Xalan packages.I have just revisited that code, intending to start a new XML project, but for some reason all the old source code will compile okay but I get the following run-time error (even on very simple apps):A ...
704 byte By
bmorel01 at 2007-9-26 8:46:20
I have developped a JSP pages in wich I call a bean with<jsp:useBean id="db" scope="request" class="SQLBean.class" />The bean SQLBean.class is in the same directory as the JSP page.When I execute the JSP, I have the following error:SQLBean.class db = (SQLBean.class) ...
663 byte By
ATAT at 2007-9-26 8:46:39
Hi,i've developed a small app with 2 session beans and a gui-client which uses some gif's for the buttons etc. and the Borland jbcl for some layouts.On the machine where i developed the app (Win NT 4, SP6), i could deploy and run the app and anything is fine. But when i try to deploy the app ...
147 byte By
vvelus at 2007-9-26 8:46:42
I have a requirement where in, at a client's request, I have tosend an XML file. This has to be done using SOAP and servlet.
I have a XML file that stores client names. I want to create a JSP page to display just one of the clients information in a html table format using XSL stylesheet. My question is:Is there anyway to use servlets or JSP pages to use XSL stylesheet to display only the element, and child elements, ...
1081 byte By
ertra at 2007-9-26 8:48:27
Hi, I am new to XML, I have downloaded a lot of tutorials on Java and XML, but I am confused from all of that - DOM,SAX,JDOM,JAXP,COCOON,XERCES, LOTUS XML ...I just want to have an XML configuration file for my JSP/servlet project.Could you please send me working example, how to read xml file ...
671 byte By
kawsuj at 2007-9-26 8:48:46
HELP !!! I'm trying to deploy an application from a Windows 2K machine onto a linux server on a small home network, but deploytool cannot connect to the server. When I try File->AddServer it says 'cannot connect... please contact your server admin...' However, it works if i try to deploy ...
250 byte By
viv816 at 2007-9-26 8:48:55
How does one retreive data (email messages) from a mail server and store it in a database?How does one retreive data (email messages) from a database and store it in a email server?Please help asap.thanks in advance
925 byte By
kkadali at 2007-9-26 8:49:01
Hi Friends,I am trying to access home interface of a stateless session EJB from an Applet running in JRE 1.3.1 in IE. My EJB is running in WebLogic Server 6.1. I am getting a cast error while narrowing the remote home interface. My server and client are running on the same machine though they ...
How do you set up a JDBC connection pool for CMP (2.0) entity beans with the RI. I'm using Oracle 8.1.7 for the DB. I'm using the RI for dev and trying to get a feeling for the performance for my app and the bottle neck is the RI only opens one connection to the DB (issued: "select username ...
270 byte By
trejkaz at 2007-9-26 8:50:29
I have an EJB with two fields, timestamp (Date) and entry (String). It's possible for two fields to have the same timestamp, so I can't use it as the primary key. Is it possible to just say there isn't a primary key, or do I have to do something tricky?
396 byte By
ytcheung at 2007-9-26 8:51:13
Hi,I am looking for NNTP support in Java.I come across this package, http://www.dog.net.uk/knife/, for JavaMail. I need the following functionalities,1) Create a newsgroup dynamically using API2) Posting messages into newsgroupsIs this possible with the API? Any other alternative choices? Any ...
441 byte By
maza3 at 2007-9-26 8:51:34
I have successfully installed Tomcat4.0 on my PC and a very simple application in folder webapps.If I run the manager application i can see that my application is installed correctly however i cannot run it on my browser( I get a Servlet Exception). I have added a line to the file server.xml ...
308 byte By
LiorK at 2007-9-26 8:51:51
I'm intresting to filter the incomming message from queue by message type:ByteMessage, ObjectMessage, MapMessage, StreamNessage or TextMessage.Suppose I intresting only in ObjectMessages. Which form of message selector I should use to filter all other message types.Thanks ...
276 byte By
akgreen at 2007-9-26 8:52:05
I have Apache front-ending tomcat 3.2.3 and serving jsp's and servlets. Can I get Apache to front-end the J2EE server, and if so, how? Or, alternatively, is there some way to get deploytool to deploy to tomcat's context? Just looking for the doc if it exists.
518 byte By
Chunkiat at 2007-9-26 8:52:08
HiI have just downloaded ant 1.4 . After installing antwhen i specified the path. Below is my path.ANT_HOME = c:\jakarta-ant-1.4PATH = .;C:\JDK1.3.1\BIN;C:\J2SDKEE1.3\BIN;C:\JDK1.3.1\JRE\LIB;C:\JAKARTA-ANT-1.4\BINJAVA_HOME = C:\JDK1.3.1\BIN\JAVA.EXEWhen i try to run ant at the command prompt i ...
2987 byte By
kwbeh at 2007-9-26 8:53:41
hey...i found problem on this code with error message javax.servlet.ServletException: Sending failed; nested exception is: javax.mail.MessagingException: 521 yahoo.com closing transmission channel. You must be pop-authenticated before you can use this smtp server, and you must use your yahoo ...
Hi everyone, i have a weird problem when using j2ee connecting to mysql, i don't have difficulties generating mysql codes using the deploytool.But when i try to deploy the application it gives me an error no suitable driver found, please advice me.
I need to read the calendar object in outlook.Any one help me
hai all when i a try to run the following jsp file using java web server i got the following error. If any body know the solution let me knowthanks in advance<%@ page import="javax.ejb.*,javax.naming.*, javax.rmi.*,java.rmi.*" %><%@ page ...
3111 byte By
choiks at 2007-9-26 8:54:28
I installed j2sdkee 1.3 and j2sdkse 1.3.1_01 in my redhat based linux box.but j2ee not started.error message of system.err at logs directory isLogging for J2EE Server Version: 1.3-b47 started at: Mon Oct 08 15:20:31 KST 2001..Using the Java HotSpot(TM) Client VM and the version number 1.3.1_01 ...
260 byte By
uryser at 2007-9-26 8:54:38
Hi,Is it allowed to pass the reference to the remote interface of a bean from client c1 to client c2?Is client c2 able to access the bean, even if client c1 and client c2 are running on different machines?Regards,Ueli