<< < 15 16 17 18 19 20 21 >   ∑:486  Sort:Rank

SslSocketClient.java - SSL Client Socket Example
This section provides a tutorial example on how to write a sample program to create a SSL client socket to connect to a SSL server socket. The connection will fail if the server's certificate is self-signed.
2016-06-10, 15039🔥, 3💬

Adding META-INF/MANIFEST.MF to JAR Files
This section provides a tutorial example on how to create and add manifest files manually to JAR files.
2016-05-12, 11218🔥, 1💬

💬 2016-05-12 mps: nice..

SSL Client Authentication Test Result
This section provides the test result of running the SSL server program and the SSL client program. The result shows that the server and the client authenticated each other's identity correctly.
2016-05-11, 606🔥, 2💬

javaw - Launching Java Programs without Console
This section provides a tutorial example on how to use 'javaw' tool to launch a Java program without the output console window.
2016-04-27, 1300🔥, 1💬

setBit() - Storing a Bit into a Byte Array
This section provides a tutorial example on how to set one bit into a byte array at a specific bit position setBit().
2016-04-08, 5065🔥, 1💬

💬 2016-04-08 frank: this works

SSL Client Authentication
This chapter provides tutorial notes and example codes on SSL client authentication. Topics include introduction to SSL client authentication; creating server and client certificates; writing server and client test programs; running SSL client authentication tests.
2016-03-30, 905🔥, 2💬

💬 2016-05-11 Herong: Roman, good point. We need to compile the Java code into a class file first. Thanks.

💬 2016-05-07 Roman: you have small mistake there, it should be: With SslReverseEchoerRevised.class and... instead of: With SslReverseEchoerRevised.j...

interrupt() - Method to Terminate Thread
This section provides a tutorial example on how to terminate running threads with the interrupt() method.
2016-03-02, 3138🔥, 1💬

💬 2016-03-02 vinay malik: good post

"jar --create" - Creating New JAR File
This section provides a tutorial example on how to create a JAR file with the 'jar --create' command.
2016-03-02, 21074🔥, 1💬

💬 2016-03-02 luis: algun comentario

jar - The JAR File Tool
This chapter provides notes and tutorials on JAR file tool, 'jar'. Topics include Java Archive (JAR) file forma, 'jar' command options, creating JAR files, managing JAR files with WinZIP, using manifest file, creating executable JAR files.
2016-02-27, 1776🔥, 3💬

💬 2015-06-06 svdude: Love your clear explanation of creating and using JARs. Thank you!

💬 2010-12-25 Herong: Eka, No, you can not use client's public key to sign a .jar file. Digital signature needs to be generated using your own private...

💬 2010-12-22 Eka: If i have a client's public key... can i sign a .jar using his public key to later be used only by him?

Managing Bit Strings in Byte Arrays
This chapter provides tutorial notes and tutorial examples on managing bit strings in byte arrays. Topics include setting a bit value into a byte array; getting a bit value back from a byte array; rotating all bits in a byte array.
2016-02-27, 1459🔥, 4💬

💬 2015-10-10 Brian: Excellent tutorials. Thanks!

💬 2006-11-19 Herong: Hi Naren, I added a section, Managing Bit Strings in Byte Arrays , to explain the getBit() and setBit() used in the DES implemen...

💬 2006-11-10 Naren: can u help me how the getbit() and setbit() implementation is done ...y ur are taken the hexadecimal no for the processing This ...

💬 2006-11-10 A visitor: hi, Your program for des is superb ......but can u help me how the getbit() and setbit() implementation is done ...y ur are take...

Installing Latest JDK on Windows
This section provides a tutorial example on how to download and install the latest version JDK, which includes some nice Java tools, on a Windows system.
2016-02-26, 1794🔥, 2💬

💬 2015-07-29 Herong: Sophie, I am so glad that my tutorial is helpful to you.

💬 2015-07-29 Sophie: Thank you. I have successfully installed Java jdk 1.8 using the instructions on this web page.

Bits, Bytes, Bitwise and Shift Operations
This chapter provides tutorial notes and tutorial examples on bits, bytes and bitwise operations. Topics include bits and bytes as storage units; 'byte' data type and (byte) casting; bitwise operations; shift operations.
2016-02-20, 1215🔥, 1💬

💬 2016-02-20 oopo: very good

Java Thread Deadlock Demo Program
This section provides a tutorial example of simple deadlock demo program, SimpleDeadLock.java, with 2 threads waiting for each other.
2016-02-20, 1999🔥, 2💬

💬 2015-11-27 Herong: Rahul, I think your dump file is a correct thread dump. It provides you a list of threads in a text format. You can use any text...

💬 2015-11-26 Rahul: Hi, Thanks for nice article. when we use jstack or kill -QUIT / kill -3 to get thread dump , we always get the dump file which s...

Literal Formats for Floating-Point
This section describes 2 literal formats for floating-point values: decimal and hex floating-point literals. The default floating-point literal data type is 'double'.
2016-02-19, 717🔥, 1💬

💬 2016-02-19 Merit Campus: You can clear many of your doubts regarding Literals in Java through Merit Campus, visit: [URL removed]. Not only Literals, we a...

Bitwise Operations on "byte" Values
This section describes 4 types of bitwise operations, 'And', 'Or', 'Exclusive Or', and 'Complement' that applies on 'byte' values indirectly through 'int' values.
2016-02-17, 3170🔥, 1💬

💬 2016-02-17 javapadho.com: excelement expalin bitwise binary operator.. bitwise operator explain with leftshift,rightshift,rightshift with fill zero value ...

Floating-Point Data Types
This section describes value ranges and storage space sizes of floating-point data types: float and double.
2016-02-15, 647🔥, 5💬

💬 2016-02-15 Herong: To Merit Campus, I have to remove links. Advertisement is not allowed in comments

💬 2016-02-15 Merit Campus: You can clear many of your doubts regarding data types in Core Java through Merit Campus, visit: [URL removed]. Not only data ty...

💬 2015-10-31 Herong: Page updated now. Thanks again, Raj.

💬 2015-10-24 Herong: Raj, good catch. It will be corrected later.

💬 2015-10-23 raj: Chief, second point should be "double" but it says "float"

Type Casting Compile and Runtime Error
This section provides a tutorial example on compilation time casting error and runtime casting exception.
2016-02-15, 978🔥, 1💬

Integer Data Types
This section describes value ranges and storage space sizes of integer data types: byte, short, int, long and char.
2016-02-15, 417🔥, 1💬

💬 2016-02-15 Merit Campus: You can clear many of your doubts regarding data types in Core Java through Merit Campus, visit: http://java.meritcampus.com/cor...

jstack - Detecting Java Thread Deadlocks
This section provides a tutorial example on how to detect Java thread deadlocks with the thread stack trace dump tool, 'jstack'.
2016-02-01, 2676🔥, 0💬

com.sun.management.jmxremote.port - JMX Agent for Remote Connection
This section provides a tutorial example on how to turn on the out-of-the-box JMX agent on Sun JVM for monitoring tool 'jconsole' to connect from remote machines.
2016-01-13, 4885🔥, 1💬

💬 2016-01-13 vetri: Good

javax.swing.JFileChooser - File Chooser Dialog Box
This section provides a tutorial example on how to use the javax.swing.JFileChooser class to create a file chooser dialog box for the Open command and the Save command.
2016-01-03, 3062🔥, 8💬

💬 2016-01-03 Travis: Hello thanks, Yea I fixed the problem with the forgotten import I should have known better just having a problem with the filein...

💬 2015-12-31 Herong: Travis, May be you forget to import the IO package. The "underline in red" means class definition is missing. Try to add the fol...

💬 2015-12-31 Travis: Missing import.java.io was the problem thanks everyone

💬 2015-12-30 Travis: Value is just a string , String rootDir; still have been playing around with it and can't seem to get it going , very odd:(

💬 2015-12-30 Ken: @Travis, what is the value of "rootDir"? Looks like you are trying to get an inputstream on a directory, not a file.

(More comments ...)

Generating Client Side Stub Java Code
This section provides a tutorial example on how to run WSDL2Java to generate client side stub Java code from an existing WSDL document. The generated stub class will have a package name borrowed from the target namespace of the Web service.
2015-11-25, 7057🔥, 1💬

💬 2015-11-25 thakur: nice

"keytool" Commands and "keystore" Files
This chapter provides tutorial notes and example codes on the 'keytool' command. Topics include introduction of public key certificates, 'keystore' file, 'keytool' command; generating new keys and self-signed certificates; exporting and importing certificates; cloning certificates to share keys.
2015-11-23, 9504🔥, 3💬

💬 2015-08-10 mike: Cool

HttpsClient.java - HTTPS Client Test Program
This section provides a tutorial example on how to write a HTTPS client test program, HttpsClient.java. It sends a simple HTTP request page using the HTTPS protocol.
2015-11-20, 8163🔥, 6💬

💬 2015-11-20 Herong: Philip, can you run HttpsHello server with SSL debug turned on? My test programs do have issues with newer build of JDK 1.7 and ...

💬 2015-11-19 Philip: java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11,...

💬 2015-11-19 Herong: Philip, which JDK version are you using?

💬 2015-11-18 Philip: I changed the code, but then reset back to the example. I recreated the jks a few times. The JVM and OS had not changed. It stop...

💬 2015-11-18 Herong: Philip, Was anything changed? Certificates, code, JVM or operating system...

(More comments ...)

<< < 15 16 17 18 19 20 21 >   ∑:486  Sort:Rank