Hello all,I have to develop a web based application that has to interact with a database(which has DATA entry and reports). I decided on using jsp running with tomcat on IIS on win2k. I have developed a part of the application which uses direct SQL statements to interact with the my databse. ...
346 byte By
XIII_ at 2007-9-26 6:06:20
Hi,I want to start developing some "applications" with JSP and XML. I've used MSXML before when I still worked with ASP.I found out that you can use DOM or JDOM. Which is the best of the two?Does anyone know where I can find some more examples / tutorials besides those on ...
We are using MQseries 5.1 and java 1.1.8. now we are upgrading to MQseries 5.2, do we need java 1.2 or 1.3.does the MQSeries 5.2 still support old Java API 1.1.8 ?thanksRupinder
2577 byte By
ngiraud at 2007-9-26 6:07:17
Hi.I am developping a web application, and I use Tomcat 3.2.1 as a JSP server. I use form-based authentication to log the users on the application : here is the relative web.xml fragment :<security-role><description>Registered GenApp ...
1080 byte By
ordio at 2007-9-26 6:09:20
Hello, I am looking to create a dynamic DSN entry using an excel driver. But first, I already used the "ODBC Drivers", etc... so i'm not looking for that... I have this problem. As I have seen in a few other messages in the forum, I get a "Data Source Name Too Long". For all the messages I ...
330 byte By
douhui at 2007-9-26 6:09:31
BEA Weblogic, IBM WebSphere absolutely provide stronger ability to support enterprise applications. I want to know whether J2EE can be used in deploying a commercial web site with multi-tier architecture. For example, to handle hundreds concurrent requests, to balance work load to some extent. ...
does anybody have any good Xang pointers (others than apache) ?
Hello, Can any one tell me there is any free mail server for me to download ?Thanks & Regards,Choong Teck.
409 byte By
yyh21m at 2007-9-26 6:10:00
Hi everyone!Can you tell the difference for me?create table a(a_id int...........pk )create table b(b_id int ..............pka_id int...........pk ,fk...)and create table a(a_id int...........pk )create table b(b_id int ..............pk...a_id int...........fk ) ...
2722 byte By
sesetty at 2007-9-26 6:11:02
While trying to parse the following xml file using jaxp.jar and xerces.jar I am getting the following exceptionorg.xml.sax.SAXParseException: The root element is required in a well-formed document.at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196)at ...
840 byte By
hairsinl at 2007-9-26 6:11:09
HiI am deploying my EJBs in WebSphere 3.5. I have a few System.out.println()'s in my beans so that I can tell when certain lifecycle methods are being called e.g.public void ejbCreate() throws CreateException, RemoteException{ System.out.println("ejbCreate");}However, when I run my client ...
902 byte By
s_sabel at 2007-9-26 6:11:22
Hi,I am new to ejb and is using the J2EE tutorial that comes with jsdkee1.3. In that tutorial the client reside in the same application as the bean.I want the client to be a stand-alone application that simply looks up the bean. I do as ...
Hi all!I'm trying to deploy a J2ee example in an NT workstation, I've installed j2sdk 1.3 and j2sdkee1.3.I start the server and launch the deplotool, I configure a j2ee example and try to deploy but the next error appear:"There was a deployment errorjava.rmi.ServerException: RemoteException ...
342 byte By
sunhf at 2007-9-26 6:12:04
i want to make a unique primary key increase one by one in a list of entity bean. it seems when i create a new entitiy bean,i have to assign its value first. but i want to get the value automatically increase one bye one. if i not use ejb, i can directly quote a value from a Oracle sequence , ...
984 byte By
s_sabel at 2007-9-26 6:12:11
I am trying to run a simple stand-alone client that will look up a bean and get a reference to the home interface of that bean. The code looks like this:System.setProperty("java.naming.provider.url","iiop://localhost:1050");Context jndiContext = new InitialContext();ref = ...
167 byte By
sathyaS at 2007-9-26 6:12:15
Hi,Can a sub class of FinderException be included in the throws clause of a finder method in home interface of a bean.Sathyakumar S.
Hello friends can anybody tell me how to upload a file on to the webserver
184 byte By
zikman23 at 2007-9-26 6:13:24
i need a code simple for update an xml node:<node id="test" value="1" />and i want to update it to:<node2 id="test2" value="23" />
145 byte By
dudenko at 2007-9-26 6:14:04
I need to start/stop some external processes every time when AppServer starts/stops. Is there standart mechanism or API to do this?
989 byte By
douhui at 2007-9-26 6:14:26
In previous, we discussed J2EE is only a reference implementation. I am still wondering if it is suitable to deploy some business logic/applications via J2EE or Tomcat's JSP/Servlet containers. Assume we cannot afford buying application servers, such as BEA Weblogic, IBM WebSphere.Thanks. Re: ...
Hi, I am evaluation the JAXM implementation and trying to use it in a client applet that simply sends a SOAP request to an existing web service and recieves a reply. However I have a problem instantiating a new SOAPConnection. My applet always has a probem with the line SOAPConnection ...
Hi,I have a session EJB called MessageHandler as defined below.class MessageHandler{ public sendMessage() {send(message,this);synchronized (this){this.wait();} } public onReply() //callback method {synchronized (this){this.notify();} }}Here, the onReply() method is a callback method invoked by ...
Hi folks, We are developing an application with the following characteristics: - users can invoke requests on our appl and they will expect a quick response - to obtain the information requested by the user, our application talks with Tibco using RV. This communication follows a pub/sub ...
HiIam working on J2EE project which includes EJB , Servlets and JSP as an fronthand. Iam having problem with performance and slow response from system . Any one can help me in resolving performance and slow response problem .Thanx and Regards Laxmikant ...
Can I input an inputstream containing XML to Dom instead of a file? ( I know SAX can do it but I was wondering if DOM had the same capability).
339 byte By
dudenko at 2007-9-26 6:22:19
When client requested entity bean and then another client requested the same bean will be instance of entity bean refreshed from database or cashed data will be returned? In case if container returns cashed copy, how often it refresh it?I need this information for Websphere, JRun and ...
176 byte By
caxn98a at 2007-9-26 6:22:58
Could someone tell me what i have to download to get the classes in com.sun.estoer.cart.ejb. I thought it is injsdk2ee.jar but it is not there. WHERE IS THE JAR ?
676 byte By
kilyas at 2007-9-26 6:23:08
hi,It seems pretty weird but when I change the charset of a mail message e.g from big5 to gb2312 and send it again to outlook express the chinese characters don't seem to be the same. If however the charset is not changed the email send seems to be fine.If the charset is changed and the body ...
2689 byte By
atacd at 2007-9-26 6:23:44
I just downloaded and installed the J2EE 1.3-beta2-b35 under Windows 2000 Professional. I had to change the ORB port from 1050 to 3234 because 1050 was already used.I get the following error when I try to start the server:C:\j2sdkee1.3>j2ee -verbosejava version "1.3.1"Java(TM) 2 Runtime ...
537 byte By
dubwai at 2007-9-26 6:23:59
Is there a simple way to take a Document and write its data to a file in the correct XML format? We have been using the com.sun.xml.tree.XmlDocument class to write XML to file but or application server is using the Xerces parser outside of our contol. I just want to be able to take the XML ...
211 byte By
smartkid at 2007-9-26 6:24:34
Is there a comparasion for popular j2ee server, such as WebLogic and WebSphere, in detail.Or anyone can give me some suggestion on which is the easiest server to use and config for a newbie?
I got a requirement where I need to put some text into an element, like this <ele>text</ele>I am able to put some value into the attributes. Can anyone help me out with which method call I can put some value into the element (as unparsed text)? Thank you in advance.-Madhuri. ...
211 byte By
manwanis at 2007-9-26 6:25:48
Can we have text file where my EJB write my log information in my own format. If yes how does it happen in EJB Container. Where do I need to place my file.thank you in advance?
hi! How to use javax.sql.ConnectionPoolDataSource and javax.sql.PooledConnection with j2sdkee1.3.? In j2ee1.3's deployment tool, to specify the resource factories, javax.sql.ConnectionPoolDataSource is not available. Please Help me to use Connection pooling.Dhaya. ...
This servelt complies and run; I however send no mail.; what am I doing wrong? import java.io.*;import java.sql.*;import javax.servlet.*;import javax.servlet.http.*;import javax.mail.*;import javax.mail.internet.*; import javax.activation.*;import java.util.Properties.*; public class SendMail ...
285 byte By
ra13 at 2007-9-26 6:26:45
I am calling servlet using POST method with some parameters. The problem is I can not access the Request paarameter again when page is refreshed. This problem does not arise Using GET.I dont want the user to see the parameters passed in URL.ThanksRA
hi EJB experts,Right now i am using VAJ 3.5.in the EJB tab,i have created one EJB group and in that EJB group,i have created one enterprise bean.suppose u assume like "Bean1".For this bean home and remote everything will be created in that bean.Now in that ejb method suppose u say in the Bean1 ...
151 byte By
paapu at 2007-9-26 6:29:16
can any one tell me how to find whether an XML file is valid or not before beginning to parse the XML file Thanks in advance
how can i add a new user and change user'password from a mailserver with javamail?email:eric_tarloy@163.com
293 byte By
quennie at 2007-9-26 6:29:38
i have beans namely savings entity bean, checkings entity beans and teller session beans, i'm trying to deploy it with in the same jar file. but im getting an error 'savings bean : bean expects one persistance-type'. i hope someone could help me about this. its urgent. thanks
311 byte By
rchiu2 at 2007-9-26 6:29:40
Dear all,I am new to java programming. I want to ask for your help. It is that does JSP run on Windows 2000 Server need j2ee sdk? If it need, what configuration and deployment procedure does I need to take?Thanks for your help first.Yours sincerely, Raymond Chiu ...
I intended to use JAXB to generate a shift_jis XML. But in sun.io.CharacterEncoding, it maps shift_jis to MS932.source like thisXMLWriter w = new XMLWriter(out,"shift_jis");and it generated xml like this:<?xml version="1.0" encoding="MS932"?>MS932 seems not supported by IEWould you tell ...
379 byte By
stallon at 2007-9-26 6:29:51
Dear all,I am told to develop a fay server and have read that some protocol named T.30 is used for this implementation. But I couldnt get enough information about this protocol to keep going with my work on this. It would be really helpful if u could give me some links about faxing, protocols ...
2488 byte By
namitapa at 2007-9-26 6:30:01
hi alli'l getting this exception in my application java.net.SocketException: socket write error (code=10053)at java.net.SocketOutputStream.socketWrite(Native Method)at java.net.SocketOutputStream.write(SocketOutputStream.java, Compiled Code)at ...
602 byte By
ascarsy at 2007-9-26 6:30:04
Hi Folks,I have problems with the encodeURL function. I use it because cookies are disabled and it converts an URL into one with the session-Id attached to it like in: http://bla.fasl.de/servlet?x=1into http://bla.fasl.de/servlet;jsession=F6agsKhsk3lak?x=1Unfortunately this doesn't seem to be a ...
Hi folks, Prsently I have an application which is following the Struts architecture.Now I have to migrate it to EJB.What all are the major chnages I have to incorporate? Any usefull links other than the Sun J2EE Blueprints? Thanx Pradeep
393 byte By
lamdalam at 2007-9-26 6:30:39
Hi,I try to implement my javamail in lotus domino.But I found a fatal Error !!Both Domino and java have the class named "session".So when i try to implement my mail in domino, it can't recognize which "session" it should refer to ..So can anyone tell me is there a way to settle this situation? ...
1959 byte By
bukie at 2007-9-26 6:30:52
Hi All,While running the program example "SimpleQueueSender" & "SimpleQueueReceiver" I had the following problem: D:\JAVA\TUTORIALS\JMS\jms_tutorial-1_3-beta2\jms_tutorial\examples\simple> java -Djms.properties=%J2EE_HOME%\config\jms_client.properties SimpleQueueSender MyQueue 3MyQueue ...
Hi,is it right, that the JMS-Provider has some freedom as to when send() is supposed to return? I see nothing enforcing this in the JMS spec.* It can return immediately, as soon as the client part has taken responsibility (optionally persisted msg).* It may also return finally, when the message ...
Hi,I am trying to send a mail using the proxy.The code is as follows:System.getProperties().put("proxySet", "true");System.getProperties().put("proxyHost", hostname);System.getProperties().put("proxyPort", portnumber);Properties props = System.getProperties();Session session = ...