divya anand

Greenhorn
+ Follow
since Oct 28, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by divya anand

Hello Stein,

Thank you so much for your valuable comments. I will check out the CardLayout and other tutorials. Thanks again.


Cheers,
Divya
11 years ago
Hi,

I'm learning to develop a small swing application using Visual Editor, that will have multiple frames. I'm kind of confused whether to have one single frame and change the content panels or have multiple frames for each user action. I tried all resources but could not find out how to invoke a new frame based on the action performed using the Visual editor in eclipse. If anyone could give me a hint or point to a good resource that would be of great help.

Thanks,
divya
11 years ago
thank you for your comments.

Cheers,
Divyaa
11 years ago
Hi,

Im developing my own web service registry, a service provider and clients (a windows and an android client). Could anyone tell me if its possible for a web service to use

tcp/udp for communication, or is there any other protocol that i can use to achieve this.


Thanks,
Divyaa
11 years ago
Hi all,

Can someone tell me if its possible to write a new web service registry with features of JINI, RMI and UDDI in a short span of time, around two months. Or is it possible to add few features of RMI and UDDI to JINI?

Thanks,
Divyaa
11 years ago
Thanks David and Mike. I will try that.
12 years ago
Hi all,

I could not test some of your suggestions as i ran into an other problem. I'm using SFTP to read files from the fileserver (not ftp. My apologies) and the license for using it expired. Now I have to replace sftp with ftp. I would like to know how do I replace sftp with ftp. The code to establish sftp connection is shown below.

import com.jscape.inet.sftp.*;
import com.jscape.inet.ssh.util.SshParameters;

public class SftpHandler {
public static final String SFTP_HOST = "aaa.org";
public static final String SFTP_USERID = "john";
public static final String SFTP_PASSWORD = "smith";


public SftpHandler() {
}

public static Sftp getSftpConnection() throws SftpException {

SshParameters params = new SshParameters(SFTP_HOST,SFTP_USERID,SFTP_PASSWORD);
Sftp sftp = new Sftp(params);
sftp.connect();
return sftp;
}

I would like to know how to use ftp just like sftp above, but Im quite unsure whether ftp is also licensed.

Thanks,
divyaa
12 years ago
Hi,

I jus tried that..throws the same exception.
12 years ago
Hi all,

Im trying to read a file from a fileserver by setting up an ftp connection, where the path is passed as argument to the method. I have this following line to read the file from the given path, but it is throwing a null pointer exception.

in = new BufferedReader(new InputStreamReader(ftp.getInputStream(filepath, 0)));

where filepath is Fileserver\system\test\finals.txt

There is no problem with the ftp connection and the file exists in the location and its not empty.

Help me solve this issue.

Thanks,
Divya
12 years ago
Thanks a lot for your reply! Will make a note your last statement


Cheers,
Divyaa
12 years ago

Hi,

I'm studying the existing web service registries. I would like to know how to write a registry for web services. If anyone could point me to a good resource, that would be grateful.

Thanks,
divyaa
12 years ago
Hi all,

I'm also looking for a book on datastructures and algorithms to prepare for interviews. Could anyone suggest me a good book with good examples.


Thanks,
Divyaa
12 years ago
No, I could not connect. I tried to connect to the database server from an other computer, even then I get the same error. Is there anything else I should install other
than the oracle driver?

Please help!


Thanks,
Divyaa
Hi,

I'm trying to connect to an oracle database server through netbeans. I installed ojdbc14 driver. Through the "services" window, I tried to connect and I did the following but gives an error, "Ioexception: Network adapter failed to connect".

I selected the installed oracle driver from the services window and selected, "Connect using.." and opted for "direct url entry" and gave the url in the jdbc url field but it gives me the above exception.

Could anyone help me solve this issue.

Thanks,
Divyaa
Hi,

I'm designing a UI for an application, which requires large text to be displayed on the button. But the problem is entire text does not fit into the button. Only a part of it is displayed and the remaining part is hidden and is shown as dots. I read some of the online posts, which talked about changes in the code. But this is only a design.

Could anyone tell me how to solve this problem, to make all the text appear on the button.

Thanks,
Divyaa
12 years ago