< 1 2 3 4 > >>   Sort: Rank

Using java.net.HttpURLConnection to Send SOAP Messages
This section describes steps to follow if you want to use the java.net.HttpURLConnection class to send out a SOAP XML message.
2016-08-02, 16989👍, 11💬

💬 2016-05-21 Herong: sss, are you referring to the example program in Using HttpURLConnection to Call GetSpeech SOAP 1.1?

💬 2016-05-19 sss: it only worked after changing to con.setRequestProperty("Content-Type ","application/soap+xml; charset=utf-8"); and without usin...

💬 2015-12-29 Marcos Volpato: This worked for me, thanks a lot

💬 2015-08-31 King Of Goats!: goat!

javax.swing.event.MenuListener - Menu Listener Interface
This section provides a tutorial example on how to use javax.swing.event.MenuListener ,menu listener interface, to catch events fired by JMenu objects.
2016-08-02, 757👍, 3💬

💬 2016-08-02 Herong: Tony, I believe that * is a wildcard, meaning all classes in the javax.swing package.

💬 2016-07-20 tony narloch: Hi, I am curious as to what the * denotes. Is that a wildcard, or meant to any/all things associated with javax.swing?

showInternal*Dialog() - Displaying Internal Dialog Boxes
This section provides a tutorial example on how to use the static methods, showInternal*Dialog(), to create and display internal dialog boxes inside an parent container.
2016-07-19, 1574👍, 3💬

💬 2015-08-26 Herong: Airam, which part is not working? :-)

💬 2015-08-25 airam: this doesn't work dude

getBit() - Retrieving a Bit from a Byte Array
This section provides a tutorial example on how to get one bit back from a byte array at a specific bit position - getBit().
2016-07-10, 1177👍, 1💬

💬 2016-07-10 bfssd: Meaningful comments

PDF Printing Version
Information on how to obtain the PDF version of this book for printing.
2016-07-09, 561👍, 3💬

💬 2016-07-09 vetal: good

💬 2015-12-01 Michael Collins: Thanks

Managing JAR Files with WinZIP
This section provides a tutorial example on how to manage a JAR file as a ZIP file with the ZIP tool, WinZIP.
2016-06-10, 503👍, 2💬

💬 2016-06-10 Herong: Jordyn, can you try to follow Test #1 mentioned in the tutorial to open a .jar file with WinZIP?

💬 2016-06-10 Jordyn: This still doesn't quite help with opening the files for me. How do you open a .jar file? :/

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, 6718👍, 3💬

💬 2016-06-10 Herong: Algérian, did you find what you were looking for here?

💬 2016-06-08 the Algérian: Je te jure que aprés une semaine de recherche j'ai pu trouver ce que j'étais d'entrain de chercher. Bravo et Bon continuation.

💬 2016-05-27 rono: very good your code

'native2ascii' - Encoding Converter Command and Options
This section describes the native-to-ASCII encoding converter 'native2ascii' and its options. Non-ASCII characters in a Java source file must be converted into \udddd Unicode sequences before giving it to the Java compiler.
2016-06-02, 123👍, 1💬

getSelection() - Getting Selected Button
This section provides a tutorial example on how to use the getSelection() method to know which button is selected in a button group.
2016-06-02, 4382👍, 3💬

💬 2016-02-22 aaa: God is the greatest

💬 2016-02-22 aaa: we are here to learn

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

💬 2016-05-12 mps: nice..

PDF Printing Version: JDK Tutorials
Information on how to obtain the PDF version of this book for printing.
2016-05-11, 1145👍, 4💬

💬 2015-11-20 sameer: good going

💬 2015-09-02 Herong: Dharshan, you can follow tutorials presented at JSSE - Java Implementation of SSL and TLS.

💬 2015-09-01 Dharshan: I want to learn JSSE

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, 298👍, 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...

'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, 459👍, 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, 1088👍, 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, 192👍, 1💬

Printable Copy - PDF Version
Information on how to obtain the PDF version of this book for printing.
2016-03-22, 1321👍, 6💬

💬 2016-03-22 Herong: Keval, I will try my best. ☺

💬 2016-03-21 Keval: Please share more knowledge of java!

💬 2015-11-19 abdou: Good

💬 2015-09-24 Theany: Good

💬 2015-09-24 Theany: good

(More comments ...)

Downloading and Installing JDK 1.8.0 on Windows
This section provides a tutorial example on how to download and install JDK 1.8.0 (Java SE 8) on a Windows 7 system. A simple Java program was entered, compiled, and executed with the new JDK installation.
2016-03-10, 850👍, 2💬

💬 2016-03-10 sudha: thanks

💬 2015-09-22 ram: no

Java Tutorials - Herong's Tutorial Examples
This free Java book is a collection of notes and sample codes written by the author while he was learning Java himself. It covers topics related Java language core features and classes provided in the java.lang.* package: array, bit, byte, deadlock, expression, generic class, generic method, literal...
2016-03-05, 2380👍, 8💬

💬 2016-03-05 SOUMO BISWAS: YES

💬 2016-02-26 Herong: Maurice, Thanks for the positive feedback!

💬 2016-02-25 Maurice: It is a great JVM book

💬 2015-12-05 Herong: Yogesh, we need better examples than what you have suggested...

💬 2015-12-05 yogesh kumar: Visit more java examples [URL removed]

(More comments ...)

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

💬 2016-03-02 vinay malik: good post

Creating the First JAR File - hello.jar
This section provides a tutorial example on how to create a JAR file with the 'jar' command.
2016-03-02, 5140👍, 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, 686👍, 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, 664👍, 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 implemena...

💬 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...

Downloading and Installing Java 8 on Windows
This section describes how to download and install Java 8 (Java Standard Edition Development Kit 1.8) on Windows.
2016-02-26, 754👍, 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.

'jstatd' - JVM Remote Monitoring Server
This section describes the JVM remote monitoring server 'jstatd' and its options. 'jstatd' are used to allow JVM monitoring tools 'jps' and 'jstat' to access local JVM processes from a remote machine.
2016-02-26, 2900👍, 4💬

💬 2015-12-13 Herong: Tim, I thought that every Linux system comes with JDK preinstalled. Not true?

💬 2015-12-12 tim: @majumder.soumya@gmail.com seems like you need to install jdk

💬 2015-07-29 Herong: Majumder, Are you using a remote Linux system? It could be that you user account do have the permission to run the "jstatd" tool...

💬 2015-07-28 majumder.soumya@gmail.com: I am trying in to run jstatd in my command box using putty. I am getting command not found. But if I run javac or java I,m getti...

< 1 2 3 4 > >>   Sort: Rank