RMI v Web Services

115 byte By sjaliaa at 2007-11-27 11:57:43
<p>hi Guys</p><p>can anybody tell me why developers always prefer to use Web Service instead of RMI</p><p>Thank</p>

How is Java Beans useful?

52 byte By poojanegia at 2007-11-27 11:41:11
<p>How is Java Beans useful in wrting java progs</p>

how to write a program to download data from website to a local machine.

405 byte By suryakula at 2007-11-27 11:29:19
Hi,is it possible to download data like 1- 1000 numbers from a website into a java program in my local machine and execute the java program on the local machine.If yes then how can i pass this data ? can it be passed one by one or at bulk through a file? how doe my local program capture this data ? ...

java bean servlet

2489 byte By kannankallia at 2007-11-27 11:24:23
is it possible to access a bean in servlet ?if yes ...please solve my problemi am trying to access a form data from html page..simple form <form method="post" action="Beanservlet" ><input type="text" name=username ></form>BeanServlet.javaimport java.io.*;import javax.servlet.*;import ...

Am I doing this correctly?

13756 byte By hypoglycemica at 2007-11-27 11:17:00
I am making a smallish website and I am after some clarification/guidance/feedback on if I am properly abstracting out the different functionality, linking it all back together etc?In short: am I doing the right thing here?I have a JSP page that is an about page attempting to pull some user info ...

Should all the setter methods in the JavaBeans remain non-public?

542 byte By khwang1044a at 2007-11-27 11:07:19
A public setter method in a public class is equivalent to a public member variable in a public class. For example, public class MyBean {private int myInt;MyBean() {}public int getMyInt() {return myInt;}public void setMyInt(int aint) {myInt = aint;}}With the above implementation, a private member ...

PDFBox-0[1].7.4-dev-20061223.jar to read pdf file

246 byte By myhoneya at 2007-11-27 10:55:54
<p>Hi..</p><p>i am reading pdf file using LucenePDFDocument , but it is not reading the big size( more than 20mb file its giving me below exception</p><p>Exception in thread "main" java.lang.OutOfMemoryError: Java heap space</p><p>plz help me</p>

disabling the windows xp start button,and disable ALT+TAB

291 byte By java_everywherea at 2007-11-27 10:36:02
<p>hi all, i am writing an internet cafe management system, and its required that clients do not access the start button, although it will be visible but will not respond to mouse clicks or keybord events.</p><p>And also how do i disable ALT+TAB when my program is running.</p><p>thanks.</p>

java.lang.VerifyError(Eclipse vs Command Line)

3053 byte By dalchaua at 2007-11-27 10:32:30
Dear all,I'm a very new user of the java programming language. I'm experimenting with using Eclipse and Java commands built in to our University network. I've come up against a problem that I cannot resolve...In Eclipse (on Windows), i've written a class which takes routines from some External ...

ascii or binary

102 byte By pattchena at 2007-11-27 10:30:01
<p>Hi,</p><p>I would like to know how I can check whether a file is ascii or binary.</p><p>Thanks.</p>

My own Frame and buttons

87 byte By America70a at 2007-11-27 10:24:03
<p>How to create my own Frame with round angles?</p><p>P.S. I want to make Winamp2.</p>

use unrar with jni

195 byte By careprada at 2007-11-27 10:14:51
<p>this excample show how to uncompress the rar file with the unrar in java</p><p> http://download.csdn.net/filedown/aHR0cDovL2RsMi5jc2RuLm5ldC9kb3duNC8yMDA3MDcxMC8xMDIyNDYxNDUzMy5yYXI=!207726</p>

new GUI programming mode

351 byte By magaracjoea at 2007-11-27 10:05:13
Hia friend of mine shocked me sending this http://www.esnips.com/nsdoc/c1f0b2b7-0660-4485-9842-756bc0355228I was deploying a standard GUI apps to handle a ebook store but now I wonder if I should use this method to that allows clercks to perform advanced query on DB.Has someone never used this ...

<jsp:UseBean> </jsp:UseBean> tag

689 byte By goel1a at 2007-11-27 10:01:45
Hi, I am trying to use the beans within the JSP page by sending its input to other class which i used it in Bean.The tags and contents listed are as follows:<jsp:useBean name="register1" class="/rms/reigister"><jsp:setProperty id="register1" property="*"/></jsp:useBean>On ...

JavaBean to JavaBean

512 byte By Bruce_La at 2007-11-27 9:58:24
I have a jsp application that uses 2 non-visual JavaBeans. One is an application scope and the other is a session scope. The beans are in separate jars. I would like to have the session bean be able to have the application bean do some work. Is there a way to have the session bean call a method ...

Poi3 excel

3270 byte By myhoneya at 2007-11-27 9:57:25
Hello,I am trying to read and write to an Excel file via my Java applet. I have done so successfully on several simple Excel files that simply had data cells without many complicated equations or any other Excel extras. However, now is the time to get the complicated ones to work. I didn't ...

NetBeans 5.5 - JFileChooser UI(Look & Feel)

304 byte By DNunesa at 2007-11-27 9:46:45
Hi all,I'm using NetBeans to build some app GUI but I'm having trouble changing the JFileChooser look and feel. I'm on WinXP and always when I add a JFileChooser to a JFrame form it uses WindowsUI Look and Feel, while I need it to be Metal Look and Feel. Does anyone know how to do ...

How to parse and get the data from an excel sheet

272 byte By kranthika at 2007-11-27 9:43:45
HaiI have this requirement of parsing an excel sheet and getting the data in it and storing the data in the appropriate tables in database.Please suggest me some way of doing this or the links wherein i can get some solution.Thanks in advance.........

Locale

492 byte By -Deba at 2007-11-27 9:26:59
How do you handle getting the Program Files directory (or any directory) if the OS is not in English?I can use Java and properties files for each Locale, however how does thiseffect the directories used in the Program itself?I have converted the text to support another Locale. This was well ...

Read/Write App Files Under Limited User Account

1261 byte By JimDVa at 2007-11-27 9:12:08
Hi All,My desktop app is intended for Windows only. I'm writing files to the hard disk to store app specific configuration.The applications main data source is a ZIp file that consists several XML files. The user can store this ZIP anywehre they like and the application will extract the ...

LookAndFeel

189 byte By student@sunDNa at 2007-11-27 8:59:30
Hey I want to apply linux lookandfeel for my application.But I dont know how to apply linux LookAndFeel I mean name of methodI need help........Thanx in Advance.

JTable and editable property on Java Desktop Application

302 byte By musa@oval.com.tra at 2007-11-27 8:49:25
Hi,I have created a project using Java Desktop Application in Netbeans 6.0. I have used a JTable object in this project. Even though I deactivate editable property (define "isCellEditable" method 'false'), when I load data in this object, editable property is still active. Please ...

New folder

483 byte By -Deba at 2007-11-27 8:45:19
When creating a new folder, which will be deleted with the Application exits.Is there a way to check to see if the OS/system the user is using will allow a new folder to be created. Security? Etc... I can add a check to see if the new folder was created, or failed to be created, however I ...

creating java editor

609 byte By nj_javaa at 2007-11-27 8:45:18
hi all i am creatin a small application which performs some type of functionallity as any java ide does but i have a problem in one area in my application when i create a demo.java file i compile it through runtime.exec("javac "+filepath)this creates class file now i want to run the applicaiton ...

Deleting a file..

641 byte By -Deba at 2007-11-27 8:45:17
I'm simply trying to delete a file using boolean success = file.delete();if (!success){System.out.println("Error deleting file.");}Sounds simple enough, except -- it isn't returning an accurate value.It returned false, and when I check the directory, the file had beendeleted.It does return ...

create a save dialog box

261 byte By paul1430a at 2007-11-27 8:32:08
hi !i want to create a web page using jsp/struts which contains a picture & a save button. When i 'll click on the save button then a dialog box will appear & i can browse a location to save the image.I need help to create the application

Private Variable

178 byte By Abhi_Upadhyaya at 2007-11-27 8:31:33
We make a private variable then public getter and setter. Why not just make variable public. Please think deeply dont go just for oops concept and acccessibility features,

trying to parse a file with SAX

1002 byte By November999a at 2007-11-27 8:27:06
Hi All,I have some code which takes a XML DTD and parses it, writing information to System.out. Or it's meant to - I cannot get the parser to see the DTD file.The code is: public static void main (String[] args) { try {Class loadedClass = Class.forName("com.ibm.xml.parser.SAXDriver");Parser ...

Obtener la ruta de un archivo jar desde Java

854 byte By jed_ecuadora at 2007-11-27 8:19:46
Hola a todos.He buscado por toda la red y todav韆 no encuentro la forma de obtener la ruta de mi archivo jar desde java. Quiero hacer una aplicaci髇 portable que de tome como base la ubicaci髇 del archivo jar para poder acceder a otros archivos que se encuentran fuera del jar pero que est醤 en ...

different types

211 byte By rajitoora at 2007-11-27 8:12:31
hi everyoneim in a kind f situation where i want to pass object of ype my custom class Data in setter method. but in getter i need something of type List to be returned. how can i do this in a bean

LookAndFeel

335 byte By student@sunDNa at 2007-11-27 8:11:39
I have seen the tutorials for using Synth look and feel, but in any of the tutorial there is no description for how to apply synth lookAndFeel for a progressbar or scrollbar. It uses same image for background and foreground.Can anybody tell me how to apply synthLookAndFeel for a scrollbar?Thanx ...

How to access the selected file in your desktop

330 byte By jjmonzona at 2007-11-27 8:11:18
My project involves a Java program running in the background which is used to copy files that I have selected on the desktop or file explorer. I have a slight problem. Suppose i have a file selected on my desktop or on a a windows folder. Is there anyway that I could determine what that ...

can any one give the difference

125 byte By Viplava at 2007-11-27 8:08:24
can any one give the differencebetween normal java class and java beanIs every java bean is a java class

session vs request

96 byte By padikkathavana at 2007-11-27 7:56:26
when do we use session scope , request scope ?can you pls. explain with an example

Tutorial or code sample in creating a .exe for windows

263 byte By merlin_aa at 2007-11-27 7:55:45
Hi all,Can some kind soul guide me to a tutorial / materials / code sample in creating a .exe (for a java program) to run in windows ?My intention is to create a .exe such that when it is clicked, the java program runs.thanks a bundle.

licence

397 byte By EvilEa at 2007-11-27 7:51:58
I'm with a small company which does'nt have an IT department and I've discovered that a few areas of my job would be a lot easer if i could develop my own software, I was wondering what kind of licence I would need to use Java to develop such programs,I've looked through the sun site but ...

JAF under GPL?

73 byte By kenoaa at 2007-11-27 7:49:40
Will the JAF be available under the GPL (in addition to the CDDL)?

Searching a file

124 byte By student@sunDNa at 2007-11-27 7:43:17
Hey I want to search my drive for specific files in Java..Can anybody please tell me.Any links!!!!!!!!!

TOC entities

393 byte By Greenmanspirita at 2007-11-27 7:41:24
Does anyone know what the TOC uses to display to the screen the tree? I am trying to figure out if I can add support for numeric entities for characters, & #917 ;rather then & Epsilon ; since my companies online help parser/creator seems to have a hard time comprehending that we want ...

XMLEncoder for readonly properties

190 byte By Hef_onlinea at 2007-11-27 7:32:14
I have an object wanna to encode with XMLEncoder. It has only getters but no setter, and thus all the readonly properties can not be encoded.Any one has solution to this issue?

Watching Filesystem without JNI

372 byte By raynica at 2007-11-27 7:30:27
Hi,is there an effective way to watch and manage a folder without JNI?For example, if there is a huge file which gets stored in this folder, how can i check that the file finished the saving process? So that the file is ready to work with it.Maybe there exists a pattern or a framework, which ...

Debian 3.0

210 byte By accs21a at 2007-11-27 7:11:11
Hello,I'm a newbe, so if my question belongs to another forum, please refer me to it.which java versions can i install on debian 3.0?i can't install another o\s on it.thanks

Making Custom Frames

362 byte By GreGeeka at 2007-11-27 7:10:02
Hi, I'm quite a beginner in J2SE, and would like to know if it's possible to make totally customized frames, for example a circular frame instead of rectangles or squares... or something like a frame with 5 or 6 bounds.. Maybe it's impossible or already exist, i really don't know and ...

java console app used in netbeans 5.5 ide

925 byte By dglnza at 2007-11-27 7:09:05
hi folks,got a java console app that i'm having trouble with.points are as follows...1. when i step into the app (from main) it goes well2. when i come to the code where i open a bufferedreader stream i get a popupthis popup gives me 3 or 4 options like...step out, step in, step over, ...

Memory Leaks

163 byte By Manthanaa at 2007-11-27 7:07:32
Hi all, Is thr any way that i can find that the application that is running on my desktop has memory leaks or not in WINDOWS.(without using any tool)

conversion of webapplication into .exe file

341 byte By arasia at 2007-11-27 7:02:09
Hai,How 2 convert a webapplication(nothing but execution not from main method) into .exe file.Is it possible to covert.I found that a executable jars are used to convert a java application into .exe but no where i found abt webapplication.If possible just reply to msg as it is very urgent.Bye ...

Create new user on linux

241 byte By vamegaa at 2007-11-27 6:57:52
I am seraching for a way to create a new user on a linux system through a java program. Does anyone have any idea on how i can do this.This application will be run as super-user, if that is to be of any help.Thanks a lot

Regarding div tag in JSF

210 byte By Me_Karthia at 2007-11-27 6:55:28
I am new to JSf and I am using h:panelgrid similar to html div for my pages.but i dont know how to use h:panelgrid properly . Can some one help me on this?Thanks in AdvanceKarthikha.

Exception in thread

421 byte By spurtreea at 2007-11-27 6:12:01
Hi,I'm getting the following message when I try to execute - java classname.class from the command promt. Message - Exception in thread "main" java.lang.NoClassDefFoundError:I'm running XP and variables are set as:CLASSPATH - C:\Program Files\Java\jre1.5.0\lib\ext\QTJava.zipQTJAVA - ...

Where Do I find the sources of dt.jar BeanInfo classes ?

290 byte By marcossofta at 2007-11-27 6:04:22
Hi all,I would like to investigate the sources of the file dt.jar that is bundled with JDK ... I'm interested in the *BeanInfo classes that it has. Does someone know where can I find them ?Thank you very muchMarcosMessage was edited by: marcossoft