Java Questions


How can we bypass System.exit from executing? Can anyone help me with the question
Re write the below program in such a way that it should print How I can I make the finally block execute without changing anything in the main method? I tried using SecurityManager but it throws SecurityException after executing finally block Hi Good Bye NOTE: You cannot change the main method Class Program{ Public static [...]

Answer Question   |  August 23, 2012  3:30 AM
Java
asked by:
100 pts.

Does iSeries Cache my Java Class?
I am new to Java but have many years with RPG. I created a simple Java program with return value, prototyped it in RPG, executed it and all looked good. Then I tried to expand on the logic, but only the old logic will function. It is very much like it still has an old [...]

Answer Question   |  August 16, 2012  7:04 PM
Cache, Java, RPG
asked by:
10 pts.

Regex ILE RPG Part 2
So after my failed attempt to get the Regex C APIs working (see earlier post), I rewrote the service program as a wrapper to facilitate the calling of java.util.regex based functionality. All code fragments below. Make a call passing some simple stuff. No luck whatsoever getting a result. Try using the same within a test [...]

Answer Question   |  July 5, 2012  3:34 PM
iSeries, Java, RPG
asked by:
465 pts.

I want to upload my web project on internet. How to do it?
HI i have made a web project using jsp/servlet and oracle database in Eclipse IDE. I have many jsp pages and servlets in that project. Now i want to upload my project on Internet. How to do it? I dont know anything about uploading websites to internet.

Answer Question   |  July 4, 2012  3:55 AM
Eclipse IDE, Java, JSP Page Design, Oracle 10g, Servlet, Web based Applications
asked by:
425 pts.

Is PL/SQL a right choice form performing operations on a databse and display the final result.?
I am developing a stock maintainence software using java language (Front end) and using oracle database as backend . i am storing data entered into some sort of gui builded forms into database. Now i want to perform some operations on that data and then display the final result. Is PL/SQL a right choice for [...]

Answer Question   |  July 3, 2012  6:01 PM
Java, Oracle 10g, PL/SQL
asked by:
425 pts.

Java CSV reader (+charts)
Hello there, I’m trying to create a Java web application which will do the following: -upload .CSV files -store them in a database -will display charts depending on the content of the .CSV file Any ideas? It HAS to be in JAVA! Thanks in advance, Peter

Answer Question   |  May 15, 2013  12:03 AM
.CSV files, Eclipse, Java, MySQL
asked by:
220 pts.

java applets
hi i had the doubt about the java applets that i want to run in a browser. The java applets in a web browser either it may be mozilla or the chrome iam using the mozilla firefox 4.0. i dont know the even primary procedure to run those applets in a web browser. thanks for [...]

Answer Question   |  February 28, 2012  1:56 AM
Java, Java applets
asked by:
655 pts.

Simple program of frame in advance java
Simple program of frame in advance java

Answer Question   |  February 28, 2012  5:22 PM
Java, Java code
asked by:
15 pts.

Generate pkcs12
Hello, i need to generate a PKCS12 file using Java. Actually, i need to automate the following certificate generation using openssl (the ca was created previously and is not pretended to automate its creation): > openssl genrsa -out client.key 2048 > openssl req -new -key client.key -out client.csr > openssl ca -keyfile ca.key -cert ca.crt [...]

Answer Question   |  February 28, 2012  4:10 PM
Java, jce, pkcs#12
asked by:
5 pts.

What’s a college grad to do for work experience?
As a recent college graduate with no experience other than freelance projects online, would contractual programming be enough for employers as work experience? Also, other than internships, what are additional ways to gain work experience? Every job I have been applying for requires experience yet are listed as entry-level. If anyone can provide an insight [...]

Answer Question   |  March 6, 2012  4:21 AM
C#, Java, Programming, Software
asked by:
15 pts.

How to display a calendar document, created from a java plugin, in the calendar view of lotus notes
Hi  I have successfully created a calendar document in Lotus Notes through a java plugin. The problem is that the document isn’t shown in the calendar view before the refresh button is hit or F9 is pressed.  The following happens:  - The user hits a button in the calendar view which fires the plugin  - [...]

Answer Question   |  November 14, 2011  9:06 AM
Java, Lotus Notes, Lotus Notes 8.5.1, Lotus Plugins
25 pts.

Why C/C++ over Java?
why we not go for java for every s/w why we use c c++ whether java is very much advance than these ?

Answer Question   |  November 2, 2011  11:27 AM
C, C++, Java
asked by:
5 pts.

Parsing a XML file with Chinese Characters in AS/400
I am working on a project which require to parse a XML file (in UTF-8 encoding) and put the value into a AS/400 physical file by using JAVA. However, one of the tags in XML may contain both Traditional Chinese and Simplified Chinese characters. The field in the physical file has already defined as DBCS [...]

Answer Question   |  March 31, 2012  4:33 AM
AS/400, CCSID, Java, UTF-8, XML, XML development, XML File Creation
asked by:
5 pts.

How to embed HTML table in lotus notes tabbed table using java?
I have created a tabbed table in lotus notes using the java class RichTextItem. Now I want to embed a HTMl table directly in the tab. I am able to embed a HTML file as an attachment but I am not able to embed a HTML table directly into the tab. Can anyone please suggest [...]

Answer Question   |  March 31, 2012  12:08 PM
HTML, HTML editor, Java, Lotus Notes
asked by:
5 pts.

Java JTable scrolling actions
Hi..I am using a JTable in java for listing the values from database. I need something like, I need to list few set of values in the JTable. And when we scroll down or scroll up using scroll pane of JTable, next set of values must be loaded from database. so that instead of loading [...]

Answer Question   |  March 31, 2012  6:42 AM
Java, Java applications, Java Database, Java developers
asked by:
5 pts.

Netbeans and Java
i hv written this prog in netbeans n i m new to java so not getting error public class Main {         /** Creates a new instance of Main */     public Main() {     }         /**      * @param args the command line arguments      */     public static void main(String[] [...]

Answer Question   |  March 31, 2012  7:18 AM
Java, Java programming, NetBeans, NetBeans 6.x
asked by:
5 pts.

Need a good start to learn Java
Please suggest me a good book or a nice website to learn Java.

Answer Question   |  March 31, 2012  10:52 AM
IT Books, Java, Java developers
asked by:
210 pts.

File system synchronization remotely
I have a requirement of synchronizing the file system remotely. I will be storing the content in the form of images in the file system. This storage will be available on cloud. Now how can I synchronize file system on cloud with destination local file system so that it becomes the exact replica and I [...]

Answer Question   |  March 31, 2012  5:02 PM
File Synchronization, File System, J2EE, Java, Java/J2EE
asked by:
5 pts.

Combining two java applications or programs
i want to combine the two programs or more in a single program in java. is it possible to combine the two programs.if it is possible the variable name space problems will play any role or anything suggest me

Answer Question   |  March 31, 2012  4:52 PM
Java, Java applications, Java programming
asked by:
655 pts.

Problem exporting Oracle 10g to excel
oracle tables contails huge records 1/2 million. unable to export to excel using java connecting to oracle 10g. can you please suggest best practices to extract data in excel sheets to share it with management. preparedstatement.executequery(sql) is taking more than half an hour to fetch just 30000 records.

Answer Question   |  March 31, 2012  4:34 AM
Java, Oracle 10g, Oracle 10g administration, Oracle export
5 pts.