Hi Everybody!I have the following problem. I have to develop a Web Service, using Axis, and a client that is able to download data and upload data.Last week I implemented a mechanism to download data from the webservice to the client. This works perfect, even for file above 1.5Gb. No I used the ...
hi I have developed one enterprise application.In client refers the session bean in turn session bean refers the entity bean. But the problem is when i run that application i am not getting desired output.I ahve used JNDI look up to refer the bean. i am using netbeansIDE5.5 and sun's ...
Hi ,I am using XALAN till now to transform my xml . I want to move to JDK1.6 .In my XSL i have java script extensions and java extensions (Static method calling).I want to know without any changes to my xsl will the same work with JDK1.6 XSLTC . Do i need to change any thing .Is there is any ...
I can't call ejb remotely with java applicatoin (javax.naming.NameNotFoundException).I tried with the servlet and works fine. How can i setup the environment so that it works with java client remotely. //call ejb from ejb Context initial = new InitialContext();sample.HelloWorldHome home = ( ...
hi all , I am a java mail api neophyte , i tried to use the mail api for sending mail , i succeded in sending mail with in my smtp server, but once i tried to replace the email id of my domain to , gmail or yahoo id the jsp container returned the invalid address exception ,I expect some useful ...
445 byte By
MAYAa at 2007-11-27 3:25:29
Hi,In my machine(Linux) IMAP is running always. I have a guest mailbox under /var/spool/mail/guest which contains 7 mails. I have created a mail account in KMail client for thtat guest mailbox with IMAP protocol. And from the KMail client i tried to create a folder. But it says "Creating folder ...
Hello everyone :i'm trying to use Toplink Essentials on a MSSQL 2005 database, in a jse Swing project; but i'm getting a RollbackException when i try to rollback a transaction.When i run a test to force a rollback, it looks like the database had rollbacked the transaction;That's what i'm ...
843 byte By
Hajala at 2007-11-27 3:26:53
i read the article "Introducing JAX-WS 2.0 With the Java SE 6 Platform, Part 1 By Robert Eckstein and Rajiv Mordani, September 2006 " and i was impressed by it.I tried to implement it on NETBEANS 5.5 and i only changed the package name from HELLO to wsPOJOi got the following errorException in ...
Hey,My client is a swt client that runs on machine A and the server is a J2ee server that runs on machine B.We use facade design pattern and the API are exposed to the client as a stateless session bean.The user does some configuration changes.for change (like add new components ... ) we need ...
Hi when I try to send a simple java mail using the below code I get the following exception.import java.util.Properties;import javax.mail.*;import javax.mail.internet.*;import java.io.UnsupportedEncodingException;public class MailExample{public static void main(String args[]){String host = ...
how can we pass a class which has integer arrays, variables from one system to other system on LAN when we have the destination address. if u can give a refference code than my work will become more easy.its urgent.
HiThank you for reading my post.I have an application which shuld consume message of a queue.my application is multithread and what i want to know is:- How i can ask queue to remove a message after my thread finished its work with the message, by this way i can ensure that if my thread face an ...
315 byte By
Zyphona at 2007-11-27 3:30:28
Are there any ways built into the Java API to escape XML special characters, i.e. <blah> => <blah>? I'm trying to throw a user inputed String into my XML tree, but I, of course, will get problems if they start inputting >, <, ', ", or other special ...
I have some questions. Those are the followings :-1) Does stub always make a serialized copy of the object that is passed to the skeleton?2) The skeleton invokes the method on the remote object, passing a plain old java reference to the new remote object. What does it mean 搊ld java reference?3) ...
Hi,Does any one know how do I print the whole XML document to console with document Object.DocumentBuilderFactory _dbf = DocumentBuilderFactory.newInstance();DocumentBuilder db = _dbf.newDocumentBuilder();Document doc = db.parse("C:\\workspace\TG31.1.306_addUser.xml");I need to do something ...
I am now doing an application in Java MailWhile i am trying to set the connection factory in Java Mail the server is sthrowing an exception namely"A "com.sun.enterprise.tools.guiframework.exception.FrameworkError" was caught. The message from the exception: "Unable to get View for ...
i want an complete evolution of j2ee from the origin to till date. when they came into use i.e the releasing date, etc.
which server should i use for J2EE ?
hi friendsi am using weblogic10 for one of my projects. in this following line:- <jsp:useBean class = "test" scope="page">can anyone please tell me where to store the test file........specifically in which directory.........i keep getting error that "no type ...
1466 byte By
jsjeppea at 2007-11-27 3:34:03
Hello,I have made a program which is able to send Icalendar files as an attachment. I get the data as an InputStream.My problem is that the Icalendar file doesn磘 show the letters '?, '? and '?. I have tried to use iso-8859-1 in the MimeBodyPart headerline and in the ByteArrayDataSource, but ...
494 byte By
a12a at 2007-11-27 3:34:39
Hi all, i've a made a class that pass parameter to an xsl withtransformer.setParameter("myparam","A/B/C")Note that i want that the parameter was an XPATH to access node C in xml file.Now, in my xsl i've declared the param:<xsl:param name="myparam" />but when i do<xsl:value-of ...
1916 byte By
Taigoa at 2007-11-27 3:35:31
hi! i磎 trying to copy some elements from a xml file, and i have some problems.i have this file ?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="xslpath.xsl"?><bookstore> <book id="0"><title id="pt">Harry Magico</title><desc ...
506 byte By
snehaka at 2007-11-27 3:36:33
Hi I am new to JavaEE5 and I am developing an enterprise application in NetBeans and deploying in Sun Application Server. My application requires JSP pages for web presentation and Session Bean for business logic and entity classes to access database.Can anybody please tell me how do I access ...
Hi, I have a question about soap headers.Gente, tengo una duda existencial. I've a lot of webmethod that have a common param (userdata) and a own param for each method.I don't know if I can put this common data in a soap headers instead of pass this data by param.In the first option, I'm ...
Hi ,Does any body help me iwth what are all the features jdk1.6 xsltc have more than JDK 1.5 xsltc.?Regards,Sasi.A
Hi,i am using WebSPhere studio Application Developer IDE and a Test Version of WebSphere 5.0 to deploy and run enterprise application which has a Web Module packaged as a .WAR file and EJB Module packed as a EJB .jar file now can any one tell me if i want to access the session bean from a ...
I have a java mailing program, in which when I use session = Session.getInstance(props, null); is works proper every time, but when I use session = Session.getDefaultInstance(props, null);this works some time proper, but some time it does not sends the mails.Please help me, why this is so.Kind ...
Hi,I am a student and I am doing a website project. I have planned to add an application called 'Tell a friend'. In this application when an user clicks a link then a new window will open and in that window there will be one form, in which user has to enter his name,email id, message, ...
Hi All,Iam getting error while invoking the webservices.I am succuessfulle deploy the webservices in server,but while try to invoke the service iam getting the error like this,AxisFault faultCode: { http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: ...
Hai,Can anyone tell me how to deploy an EJB application in Websphere i mainly want to know what xml files we need to keep in meta-inf directory & what is their structure . I have worked with JBoss in that i was using ejb-jar.xml & jboss.xml similarly i want to know what files we need ...
Hello,I am able to get mails from my local server and store it in a file.Now what i want to do is select the required data and send it as an SMS.Instead of reading the test file and retriving the data is it possible to read the data before it goes to the file , i mean from the buffer ,perform ...
I need a web application to authenticate other web applications and then allow them to read the MYSQL database contents that available in my end.for a example http://www.mydomain.com has the MySQL database contents. http://www.otherdomain1.com, http://www.otherdomain2.com,etc. will read the ...
Hi,I'm trying to transform a xml file using default transformation from JDK 1.4.2 (requirement). I have need to use exslt node-set() function in a template because i have to sort the nodes. my stylesheet is now defined as this:<xsl:stylesheet ...
Hi,I've the class below. What i would like to do is that whenever i find a record by using named query, i wouldn't want the password field to be retrieved, because i don't want to pass it through the network to the client.Therefore, i've found this @Basic annotation which supposedly can do ...
1584 byte By
basti78a at 2007-11-27 3:42:24
I use my on business interface to hold EJB methods. public interface Test extends ServiceInterface {public void test(int sum)throws EJBException;} public class TestImpl implements Test {public void test(int sum) throws EJBException {//do something}}public interface ...
6231 byte By
janir4a at 2007-11-27 3:42:42
SJSAS PE 9.0 running on WindowsSome of the code//imports:import javax.jms.ConnectionFactory;import javax.jms.Queue;import javax.jms.Session;import javax.jms.JMSException;import javax.annotation.Resource;//Injection@Resource(mappedName = "jms/ConnectionFactory")private ConnectionFactory ...
1453 byte By
Sebetea at 2007-11-27 3:43:11
Hi, this is my first post, i磎 new whith j2ee. I磎 trying to persist a relationship between two entities, here they go:@Entity@Table(name = "tbl_position")public class Position implements Serializable {@Id@GeneratedValue(strategy = GenerationType.TABLE)@Column(name = "positionid")private Long ...
Hi-I am trying to implement a web service. I built the server side with axis, and it seems to be working fine. When I use wsimport to generate client side stubs, it seems to be unable to fully generate the client bean.The relevant (i think) part of the wsdl generated by axis:<xs:schema ...
453 byte By
Taigoa at 2007-11-27 3:44:26
hello, it磗 possible to remove a node or a element by is id? i have this example:<book><chapter id="um"><para id ="test">chapter 1. </para><para id ="test1">chapter 2. </para><para id ="test2">chapter 3. </para></chapter></book>and i ...
1205 byte By
tomassa at 2007-11-27 3:44:51
I have problem with saving data in csv file. I would like save my data looklike this example :excel preview :ABC1 1011122 131415As we see all values are in separate cell A1=10, B1=11, C1=12 ...so I try :PrintWriter wy = new PrintWriter(new ...
151 byte By
-@-a at 2007-11-27 3:45:15
Who is responsible for testing a "compatible" product against the CTS?What can I do if a "compatible" product seems to violate its claim?
80 byte By
kenooaa at 2007-11-27 3:45:22
Will the source code of JavaMail be published under the GPL? If so, when?
1684 byte By
enz01a at 2007-11-27 3:45:27
Hi,I am trying to connect to a remote CORBA server(C++) through my ejb running on PE8.2, but when I init the IONA ORB in the ejb, I get the follwing exception:Caused by: org.omg.CORBA.INITIALIZE: Exception reading properties, probably this is an applet but no applet parameter supplied to ...
I am getting the following message when I attempt to send an email with an image that i am attempting to convert to pngjavax.activation.UnsupportedDataTypeException: no object DCH for MIME type image/pngI set content with the following statementmbp1.setContent(ActReport.EmailSetup(), ...
868 byte By
qballera at 2007-11-27 3:46:33
JAXWS 2.0Java 1.5.0_11Ant 1.7.0<wsdl:service name="TempCallback"><wsdl:port name="TempCallback"binding="tns:TempSoapBinding"><soap:address location=" " /></wsdl:port> </wsdl:service>The following error is generated when wsimport is executed on a WSDL containing the ...
725 byte By
lxgwx4a at 2007-11-27 3:46:51
I have a problem about the javamail when developping a webmail. My POP3 server supports some extension commands that javamail 1.4 doesn't support. But javamail supports the IMAP user-supplied IMAP commands.As listed in the javamail's API document, javamil has the function of "Execute a ...
907 byte By
garavaa at 2007-11-27 3:46:52
Hi :We are facing this peculiar problem of Invalid Sessions in database. There are Inactive sessions for days together in Database. We are using a common utility for all select Queries; along with that we are using datasource to get connection object. We have even checked that common component ...
HI TO ALL......I AM NEW TO THIS FIELD....I AM TRYING TO SEND EMAIL THROUGH JAVA MAIL FUNCTION......,FIRST I AM FETCHING THE MAIL ADDRESS FROM DATA BASE.....I WANT TO SEND MAIL TO THOSE ADDRESS......HERE I M LITTLE BIT CONFUSED....PLZ HELP ME....BELOW IS THE CODE.........THIS FOR SEARCHING THE ...
609 byte By
patmugaa at 2007-11-27 3:47:29
I am getting the following error message.javax.naming.NameNotFoundException: No object bound to name java:comp/env/mail/NotificationI set up a java mail Session resouce with a JNDI name mail/Notification.In my code I am getting the Session using:Context ic = new InitialContext();mailSession = ...
565 byte By
caesara at 2007-11-27 3:47:40
Hi,I am asked to develop a java software with email client capabilities. As I google, I found two java Mail API, JavaMail and Ristretto.I wonder which one should I use? I have tried out Columba and it works fine with gmail and my company smtp server. I haven't tried out all features by ...