comp.lang.java.programmer http://groups-beta.google.com/group/comp.lang.java.programmer [EMAIL PROTECTED]
Today's topics: * Whiner Alert ! - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5b0f39eca4dd2fc5 * Help needed to Create a webapps using JBoss_Tomcat - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b5aa20245a82f395 * 2 interface with 2 same function prototype but different return type - 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5277abed8de68298 * Help! J2ME & kSoap - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/7bd1270e67ad3f4c * newbie question: loop through directory and change file names - 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5ea7dee75f521835 * how to cast a primitive type 'long' to byte[8] - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/3b17527882b80175 * converting unicode to UTF-8 - 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/a237715716e67cc1 * Using com.sun.tools.javac.Main() for compiling - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/894f2738d346f374 * Compiling with no present classes - 4 messages, 4 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/fa21c58345af6de9 * newLine in <applet>'s <param> tag - 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/1d6211b531fb4f45 * Free web hosting - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/cecb119e62c86720 * JSP/Servlets J2EE - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/bb75a63dcb4eb0db * UnsatisfiedLinkError in Eclipse standalone SWT app - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/e03dc0d087a5062a * JBoss to go closed source - FUD ? - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/d0238b5ab38d4d44 * JavaBeans need help - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f42726232b7d3bb9 * SOLD GOOG bought BE - 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/662b70234da635f3 * ListView - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/61f84dd9949172ee ========================================================================== TOPIC: Whiner Alert ! http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5b0f39eca4dd2fc5 ========================================================================== == 1 of 1 == Date: Sat, Nov 20 2004 7:37 am From: Postmaster <[EMAIL PROTECTED]> In article <[EMAIL PROTECTED]> "ColoNel polyPs" <Extermination of the christian jew cop government is inevitable. Resistance @ futile> wrote: > > > "John Doe" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Nym shifting cross posting anonymous remailer troll. > > > > Postmaster <[EMAIL PROTECTED]> wrote: > > > > >Path: > newsdbm05.news.prodigy.com!newsdst01.news.prodigy.com!newsmst01a.news.pr > odigy.com!prodigy.com!news.glorb.com!newsgate.cistron.nl!news.cambrium.n > l!ecngs!feeder.ecngs.de!38.119.100.83.MISMATCH!news-out1.nntp.be!propaga > tor2-sterling!propagator3-cogent!in.nntp.be!news.dizum.com!sewer-output! > mail2news-x5!mail2news-x4!mail2news-x3!mail2news-x2!mail2news > > I'm still trying to get this goddamned microchip out of my back that > Richard Nixon, George Bush and George Bush stuck there when they > kidnapped, drugged and interogated me in 1982. :-) ========================================================================== TOPIC: Help needed to Create a webapps using JBoss_Tomcat http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b5aa20245a82f395 ========================================================================== == 1 of 1 == Date: Sat, Nov 20 2004 8:18 am From: [EMAIL PROTECTED] (Adnan Mian) Hi, I had used Tomcat before to develop the web applications using servlets and JSP. Now I am trying to learn EJBs so I have downloaded and configured the JBoss_tomcat(Jboss with tomcat). but unlike simple Tomcat there is no webapps folder we we can place the web-application like D:\tomcat\webapps\adnan, instead of this we have D:\Jboss_3_tomcat_5\jboss-3.2.6\server\all\deploy\jbossweb-tomcat50.sar\adnan Jboss-tomcat is not detecting the webapps, while this application works fine on the simple Tomcat. Can any one help me to how and where to Create the webapps so that it is detected by the Jboss_tomcat. regards, Adnan ========================================================================== TOPIC: 2 interface with 2 same function prototype but different return type http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5277abed8de68298 ========================================================================== == 1 of 3 == Date: Sat, Nov 20 2004 8:30 am From: [EMAIL PROTECTED] (cai junfu) interface a{ int g(); } interface b{ double g(); } class c implements a, b{ } how should class c's implementation of the two interface be written? is it possible at all? == 2 of 3 == Date: Sat, Nov 20 2004 9:16 am From: "xarax" <[EMAIL PROTECTED]> "cai junfu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > interface a{ > int g(); > } > > interface b{ > double g(); > } > > class c implements a, b{ > } > > > how should class c's implementation of the two interface be written? > is it possible at all? Cannot happen in Java. The method return types must be the same (ignoring the Generics thing). You can do an alternative using objects like this: public interface A { public abstract Number g(); } public interface B { public abstract Number g(); } public class C implements A,B { public Number g() { Integer a; Double b; Number result; if(/* some condition */) { a = new Integer(12); result = a; } else { b = new Double(20.5); result = b; } return result; } The caller of C.g() must then decide how to extract the value of the Number result. == 3 of 3 == Date: Sat, Nov 20 2004 1:34 pm From: steve <[EMAIL PROTECTED]> On Sun, 21 Nov 2004 01:16:09 +0800, xarax wrote (in article <[EMAIL PROTECTED]>): > "cai junfu" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> interface a{ >> int g(); >> } >> >> interface b{ >> double g(); >> } >> >> class c implements a, b{ >> } >> >> >> how should class c's implementation of the two interface be written? >> is it possible at all? > > Cannot happen in Java. The method return types > must be the same (ignoring the Generics thing). > > You can do an alternative using objects like this: > > public interface A > { > public abstract Number g(); > } > > public interface B > { > public abstract Number g(); > } > > public class C > implements A,B > { > public Number g() > { > Integer a; > Double b; > Number result; > > if(/* some condition */) > { > a = new Integer(12); > result = a; > } > else > { > b = new Double(20.5); > result = b; > } > return result; > } > > The caller of C.g() must then decide how to > extract the value of the Number result. > > you can return a different "type", just cast the type to an object, return an object, then in your main calling code do a test for "instance of" XX or instance of YY. ========================================================================== TOPIC: Help! J2ME & kSoap http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/7bd1270e67ad3f4c ========================================================================== == 1 of 1 == Date: Sat, Nov 20 2004 8:48 am From: "Fra" <[EMAIL PROTECTED]> Hi everyone! Sorry for my poor english... My name is Francesco, from Italy. I'm writing a Midled using kSoap for parsing SOAP request/response. With J2ME Wireless Toolkit I tested my application succesfully, but I have a problem testing on my sony-ericsson k700. This is a very simple test Midlet that parse a static SOAP document using kSoap: import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import java.io.*; import org.ksoap.*; import org.kxml.parser.*; public class TestMidlet extends MIDlet implements CommandListener, Runnable { Form mainForm = new Form ("TestMidlet"); Command testCommand = new Command ("Test", Command.SCREEN, 1); Command exitCommand = new Command ("Exit", Command.EXIT, 1); public TestMidlet () { mainForm.addCommand (testCommand); mainForm.addCommand(exitCommand); mainForm.setCommandListener (this); } public void startApp () { Display.getDisplay (this).setCurrent (mainForm); } public void pauseApp () { notifyPaused(); } public void destroyApp (boolean unconditional) { notifyDestroyed(); } public void commandAction (Command c, Displayable d) { if(c == this.testCommand){ new Thread(this).start(); } else if(c == exitCommand){ destroyApp(true); } } public void run(){ try{ String soap="<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><soapenv:Body><ns1:g etNumeroPuntiDiVenditaResponse soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:ns1=\"http://DefaultNamespace\"><getNumeroPuntiDiVenditaReturn xsi:type=\"xsd:int\">35</getNumeroPuntiDiVenditaReturn></ns1:getNumeroPuntiD iVenditaResponse></soapenv:Body></soapenv:Envelope>"; InputStreamReader isr=new InputStreamReader(new ByteArrayInputStream(soap.getBytes())); XmlParser xmlparser = new XmlParser(isr); SoapEnvelope responseEnvelope=new SoapEnvelope(); this.mainForm.append("Start parsing\n"); responseEnvelope.parse(xmlparser); this.mainForm.append("End parsing\n"); } catch(Exception e){ mainForm.append(e.toString ()); } } } When I install application on my phone, only the first time it work fine... all the others times I try to exit and run again Midlet an exception is thrown. The exception is: org.kxml.parser.XmlParser$DefaultParserException: java.lang.RuntimeException: Method not supported for the given event type! @1:214 If I remove Midlet and then reinstall it the behavior is the same... only first run is ok! It's not possible... My opinion is that the JVM on my phone have a bug. Please, can anyone install this simple Midlet on his phone to test if the problem is my k700, my source or kSoap libraries? All that we need is kSoap+Kxml library, downloadable at http://ksoap.objectweb.org/software/downloads/current/ksoap-midp.zip In J2ME Wireless Toolkit just create a new project named "TestMidlet", whit MIdlet name "TestMidled", put ksoap-midp.zip in lib directory of the project, put the source of Midlet (TestMidlet.java) in src directory of the project and choose "Project->Package->Create Package". Now "TestMidlet.jad" and "TestMidlet.jar" are in bin directory of project. Install Midlet to phone and test... exit Midlet and re-test... exit and re-test... If you want to help me (or for more information), please reply to this topic or contact me at [EMAIL PROTECTED] Thanks to all! Francesco. ========================================================================== TOPIC: newbie question: loop through directory and change file names http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5ea7dee75f521835 ========================================================================== == 1 of 3 == Date: Sat, Nov 20 2004 9:06 am From: [EMAIL PROTECTED] (lawrence) This is my first attempt to write a java program. I want to write a litttle macro that will show up as an icon. When I put in a directory and double click it, I want it to launch and loop through every file in the directory and change the names of the files. Specifically, I want it to find open ' ' white spaces and change them to an underscore: _ I'm doing this because I've several hundred images I'd like to upload to the web, but they are on a Windows machine and they have spaces in their name. Looking around online I found examples of how to open a directory, get a list of the files, and replace the white spaces with underscores, but I don't know how to actually replace the old name with the new name. Any advice? /* * changeFileNames.java * * Created on November 20, 2004 */ /** * * @author Lawrence */ public class changeFileNames { public changeFileNames { } /** * @param args the command line arguments */ public static void main(String args[]) { File dir = new File("directoryName"); String[] children = dir.list(); if (children == null) { // Either dir does not exist or is not a directory } else { for (int i=0; i<children.length; i++) { // Get filename of file or directory String filename = children[i]; // Convert to lower case String newFileName = filename.toLowerCase(); newFinalName = newFileName.replace(' ', '_'); } } } } == 2 of 3 == Date: Sat, Nov 20 2004 9:52 am From: Neil Campbell <[EMAIL PROTECTED]> lawrence wrote: > This is my first attempt to write a java program. I want to write a > litttle macro that will show up as an icon. When I put in a directory > and double click it, I want it to launch and loop through every file > in the directory and change the names of the files. Specifically, I > want it to find open ' ' white spaces and change them to an > underscore: _ > > I'm doing this because I've several hundred images I'd like to upload > to the web, but they are on a Windows machine and they have spaces in > their name. > > Looking around online I found examples of how to open a directory, get > a list of the files, and replace the white spaces with underscores, > but I don't know how to actually replace the old name with the new > name. > > Any advice? You probably want to look at the File.renameTo(File) function. You can create a File object for the file you want to rename, create a new file object with the new name, and call renameTo to rename the file. Hope this helps. -- Neil Campbell batneil[AT]thebatcave[DOT]org[DOT]uk http://www.thebatcave.org.uk == 3 of 3 == Date: Sat, Nov 20 2004 10:14 am From: Andrew Thompson <[EMAIL PROTECTED]> On 20 Nov 2004 09:06:21 -0800, lawrence wrote: > ..I don't know how to actually replace the old name with the new > name. <http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html#renameTo(java.io.File)> HTH -- Andrew Thompson http://www.PhySci.org/codes/ Web & IT Help http://www.PhySci.org/ Open-source software suite http://www.1point1C.org/ Science & Technology http://www.LensEscapes.com/ Images that escape the mundane ========================================================================== TOPIC: how to cast a primitive type 'long' to byte[8] http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/3b17527882b80175 ========================================================================== == 1 of 1 == Date: Sat, Nov 20 2004 9:17 am From: "xarax" <[EMAIL PROTECTED]> "Ferenc Hechler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I don't think it can be done by a simple cast, > because the byte represantation of a long is system > dependant (little-endian, big-endian). Totally wrong on the Endian thing. Java is ALWAYS big endian. ========================================================================== TOPIC: converting unicode to UTF-8 http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/a237715716e67cc1 ========================================================================== == 1 of 2 == Date: Sat, Nov 20 2004 9:43 am From: [EMAIL PROTECTED] (peter10) Hallo! Thanks to your code-snippet and with the getEncoding()-method of the OutputStreamWriter I found out that the encoding that is apparently being used inside the JTextPane is "Cp1252". ByteArrayOutputStream baos = new ByteArrayOutputStream(); OutputStreamWriter out = new OutputStreamWriter(baos); out.write(input_string); String encoding = out.getEncoding(); Now I have two - maybe stupid - questions: 1) How is that possible if the sun-documentation about Documents (used in JTextPanes) reads as follows: "To support internationalization, the Swing text model uses unicode characters..." ??? 2) how do I get a String out of the OutputStreamWriter as there is no getText() method available? Thanks for any help! Peter == 2 of 2 == Date: Sat, Nov 20 2004 12:43 pm From: "Boudewijn Dijkstra" <[EMAIL PROTECTED]> "peter10" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > Hallo! > > Thanks to your code-snippet and with the getEncoding()-method of the > OutputStreamWriter I found out that the encoding that is apparently > being used inside the JTextPane is "Cp1252". > > ByteArrayOutputStream baos = new ByteArrayOutputStream(); > OutputStreamWriter out = new OutputStreamWriter(baos); > out.write(input_string); > String encoding = out.getEncoding(); > > Now I have two - maybe stupid - questions: > 1) How is that possible if the sun-documentation about Documents (used > in JTextPanes) reads as follows: > > "To support internationalization, the Swing text model uses unicode > characters..." ??? OutputStreamWriter by default uses the *platform* default encoding, not the Swing default encoding. > 2) how do I get a String out of the OutputStreamWriter as there is no > getText() method available? If you want the string back, you'd get the original input_string back. I recommend you use input_string.getBytes("UTF-8") instead. ========================================================================== TOPIC: Using com.sun.tools.javac.Main() for compiling http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/894f2738d346f374 ========================================================================== == 1 of 1 == Date: Sat, Nov 20 2004 10:13 am From: ExGuardianReader <[EMAIL PROTECTED]> Jesper Sahner wrote: > How do you access the source code? You only have the byte-code as far as I > know. > > Regards, > Jesper There are quite a few Java decompilers around, do a google. I use DJ: http://members.fortunecity.com/neshkov/ ========================================================================== TOPIC: Compiling with no present classes http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/fa21c58345af6de9 ========================================================================== == 1 of 4 == Date: Sat, Nov 20 2004 10:22 am From: "I.L.B." <[EMAIL PROTECTED]> Hi ; I have a Java application that run on a .jar file. I just need to make some changes in one single .class file from that JAR file, by editing its java source code then re-compile again and then replace it again into the JAR file (with the help of WinZip). The problem is that anytime I go compiling any .java file (even if it is not modified!), and then replace the new class file with the older one (by deleting the older one first inside winZip then adding the new one). My application crashes once restarted. Even if I don't introduce any modification. I see that .java code files are adding javax.swing.* classes. I don't have these classes on my computer (I use latest JDK 1.4.206), I just use java awt classes and other imported ones (that I add when compiling with -classpath). The case is that I can compile any .java file without any error ! But after adding the .class file to the JAR, my application crashes Any ideas ? Thanks ! == 2 of 4 == Date: Sat, Nov 20 2004 11:03 am From: Andrew Thompson <[EMAIL PROTECTED]> On Sat, 20 Nov 2004 19:22:31 +0100, I.L.B. wrote: > I have a .. ..nasty case of multi-posting? Please refrain from multi-posting. <http://www.physci.org/codes/javafaq.jsp#xpost> [ F'Ups set to c.l.j.p., alt.comp.lang.java is not a valid group, despite that your server carries it. ] -- Andrew Thompson http://www.PhySci.org/codes/ Web & IT Help http://www.PhySci.org/ Open-source software suite http://www.1point1C.org/ Science & Technology http://www.LensEscapes.com/ Images that escape the mundane == 3 of 4 == Date: Sat, Nov 20 2004 3:13 pm From: Chris Smith <[EMAIL PROTECTED]> Andrew Thompson <[EMAIL PROTECTED]> wrote: > [ F'Ups set to c.l.j.p., alt.comp.lang.java is not a valid > group, despite that your server carries it. ] I don't know how you can say that. There is no list of valid groups for alt.*, so it has as much claim to being a valid group as any other alt group does. Nevertheless, comp.lang.java.programmer is clearly the better choice. -- www.designacourse.com The Easiest Way To Train Anyone... Anywhere. Chris Smith - Lead Software Developer/Technical Trainer MindIQ Corporation == 4 of 4 == Date: Sat, Nov 20 2004 3:29 pm From: "Tony Morris" <[EMAIL PROTECTED]> "I.L.B." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi ; > > I have a Java application that run on a .jar file. I just need to make some > changes in one single .class file from that JAR file, by editing its java > source code then re-compile again and then replace it again into the JAR > file (with the help of WinZip). Don't use Winzip to create jars - use java.util.jar.JarOutputStream - you can do this by using the command line jar or Apache Ant (http://ant.apache.org). > The problem is that anytime I go compiling any .java file (even if it is not > modified!), and then replace the new class file with the older one (by > deleting the older one first inside winZip then adding the new one). My > application crashes once restarted. Even if I don't introduce any > modification. "crashes" is very broad. It throws a IWantToEatSpaghettiException? The VM dumps core? If not, what then? > > I see that .java code files are adding javax.swing.* classes. I don't have > these classes on my computer (I use latest JDK 1.4.206), You have a contradiction there. That's like saying "I don't have any Microsoft software on my computer (I'm using latest Windows 2003)." If you are using J2SDK 1.4.2_06 like you say you are, you have those "classes on your computer". > I just use java awt > classes and other imported ones (that I add when compiling with -classpath). > The case is that I can compile any .java file without any error ! Sounds nasty. > But after adding the .class file to the JAR, my application crashes > Any ideas ? Thanks ! > > My car is broken - any ideas why? -- Tony Morris http://xdweb.net/~dibblego/ ========================================================================== TOPIC: newLine in <applet>'s <param> tag http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/1d6211b531fb4f45 ========================================================================== == 1 of 2 == Date: Sat, Nov 20 2004 10:23 am From: [EMAIL PROTECTED] (peter10) Hello everybody, is there an alternative to the <param> tag when passing data to an applet? The problem I have is that newLine characters are lost when using the <param>tag. I tried it with replacing all /n with which worked fine inside JBuilder but not for IE (6.0) and Netscape (7.1). Does anybody have any ideas? Thanks alot for every hint, Peter == 2 of 2 == Date: Sat, Nov 20 2004 10:54 am From: Andrew Thompson <[EMAIL PROTECTED]> On 20 Nov 2004 10:23:50 -0800, peter10 wrote: > is there an alternative to the <param> tag when passing data to an > applet? > > The problem I have is that newLine characters are lost when using the > <param>tag. Why are you feeding 'newlines' to an applet? Any piece of text that long is probably best displayed in an HTML <TEXTAREA>. > I tried it with replacing all /n with which worked fine inside > JBuilder but not for IE (6.0) and Netscape (7.1). > > Does anybody have any ideas? Replace the new-lines with a sequence of characters that are not going to be in the input text, then split the line based on those markers and insert new-lines. -- Andrew Thompson http://www.PhySci.org/codes/ Web & IT Help http://www.PhySci.org/ Open-source software suite http://www.1point1C.org/ Science & Technology http://www.LensEscapes.com/ Images that escape the mundane ========================================================================== TOPIC: Free web hosting http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/cecb119e62c86720 ========================================================================== == 1 of 1 == Date: Sat, Nov 20 2004 10:33 am From: Andrew Thompson <[EMAIL PROTECTED]> On 20 Nov 2004 00:41:53 -0800, gonas wrote: > Where can i find a free webhost providing the following servises. > > No Startup/Monthly/yearly fees - absolutely free. > Minimum of 25 MB. > Support JSP/SERVLET. > Database support - MySQL/MS ACCESS. > FTP Support. > file upload size 1mb. > file upload from my webpage. The closest I have heard any host coming to that ..wish list for free is <http://www.myjavaserver.com/>. Though at the prices they charge, they can afford to be fussy. They accept new members 'whenever the heck they feel like it'. > Any Contents, yes ANY CONTENTS You're kidding right, KIDDING? "Welcome to Porn/Snuff Movies, Anarchist/Terrorrist Central.." Give up the drugs, son. -- Andrew Thompson http://www.PhySci.org/codes/ Web & IT Help http://www.PhySci.org/ Open-source software suite http://www.1point1C.org/ Science & Technology http://www.LensEscapes.com/ Images that escape the mundane ========================================================================== TOPIC: JSP/Servlets J2EE http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/bb75a63dcb4eb0db ========================================================================== == 1 of 1 == Date: Sat, Nov 20 2004 10:36 am From: [EMAIL PROTECTED] (German Gonzalez) Hello, Still I'm not sure about JSP/Servlets and J2EE architecture. I know those technologies are the "Web Tier" of J2EE and EJB is the "Business tier". http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Overview2.html#wp81104 but if I only use Tomcat as Application Server (to use only JSP/Servlets) and copy the Servlet.jar to my j2se-jdk. I'm getting J2EE tech, then I'm using J2EE!? I would like to know if I use only JSP/Servlet is still a J2EE application or It needs to have EJB to became a J2EE app? Thanks in advance. German ========================================================================== TOPIC: UnsatisfiedLinkError in Eclipse standalone SWT app http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/e03dc0d087a5062a ========================================================================== == 1 of 1 == Date: Sat, Nov 20 2004 12:36 pm From: Henry Law <[EMAIL PROTECTED]> On Thu, 18 Nov 2004 21:01:11 +0000, Henry Law <[EMAIL PROTECTED]> wrote: >-Djava.library.path=${system:ECLIPSE_HOME}/plugins/org.eclipse.swt.${system:WS}_3.0.0/os/${system:OS}/${system:ARCH} Yes; but I'd coded it as "program arguments" rather than "VM arguments". When I swapped it to the VM window everything worked. -- Henry Law <>< Manchester, England ========================================================================== TOPIC: JBoss to go closed source - FUD ? http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/d0238b5ab38d4d44 ========================================================================== == 1 of 1 == Date: Sat, Nov 20 2004 2:30 pm From: Steve Horsley <[EMAIL PROTECTED]> Babu Kalakrishnan wrote: > The repeated posts referring to the same blog in this group smells very > much like a deliberate attempt to spread FUD Or another IE exploit? Steve ========================================================================== TOPIC: JavaBeans need help http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f42726232b7d3bb9 ========================================================================== == 1 of 1 == Date: Sat, Nov 20 2004 3:06 pm From: "HS1" <[EMAIL PROTECTED]> Hello I have to modify a session java bean (of other developers) as this bean has an error in it. This session bean is used to add, update or delete items in a database using sql query. This bean includes remote home and local home interface, a remote and local interface for the bean and a enterprise bean class (this enterprise bean class implements the business login for the bean). The enterprise bean has some function add, modify items. I also have a client application that call business methods with the bean. The application work well with function "add". However, there is error in the function "modify" as it has a wrong String sql query (for "UPDATE" query). I hope you understand the case. Therefore, I have to change some code for this function in the enterprise bean class. Then I compile whole session bean into new classes. Next, I uses these new classes in my client application in the classes path. However, when I run the client application, the application still uses the old bean and do not update what I have changed in the enterprise bean class. So my question is: After changing or modifying a function in an enterprise bean class in a session bean (but still keep the same the return values and arguments in this function-this means I do not have to change return values and arguments in interface classes), what I have to do to make that change to be affected. I think it is simple, however, I spend some days with it but it did not work. Could you PLEASE help Many thanks SH1 ========================================================================== TOPIC: SOLD GOOG bought BE http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/662b70234da635f3 ========================================================================== == 1 of 2 == Date: Sat, Nov 20 2004 3:09 pm From: [EMAIL PROTECTED] (Cindi Jenkins) Once Sergey and company sell all their stock in the name of diversification, google's (GOOG) stock price will go down. Likewise, IT consulting services in the wake of the deadline for Sarbanes Oxley compliance will go up. Bearingpoint (BE) is a good stock play. Currently trading at $9 and should shoot to $12 by end of year. == 2 of 2 == Date: Sat, Nov 20 2004 3:19 pm From: The Visitor <[EMAIL PROTECTED]> Should I know why? Cindi Jenkins wrote: Bearingpoint (BE) is a good stock play. > Currently trading at $9 and should shoot to $12 by end of year. ========================================================================== TOPIC: ListView http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/61f84dd9949172ee ========================================================================== == 1 of 1 == Date: Sat, Nov 20 2004 4:02 pm From: "scorpio05678" <[EMAIL PROTECTED]> hi all Is there any thing like "Listview" in java like we have in MFC and VB? If not is there any simple way to get the same thing in java. I have come across a short course on Sun's website http://java.sun.com/developer/onlineTraining/GUI/Swing2/shortcourse.html#JFCListView but it is very complex for me . Thanks in advnce. scorpio05678 ======================================================================= You received this message because you are subscribed to the Google Groups "comp.lang.java.programmer". comp.lang.java.programmer [EMAIL PROTECTED] Change your subscription type & other preferences: * click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe Report abuse: * send email explaining the problem to [EMAIL PROTECTED] Unsubscribe: * click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe ======================================================================= Google Groups: http://groups-beta.google.com
