background preloader

Bruce Eckel's MindView, Inc: Free Electronic Book: Thinking in Java, 3rd Edition

Bruce Eckel's MindView, Inc: Free Electronic Book: Thinking in Java, 3rd Edition
This page apparently has both "Thinking in Java" and "Thinking in C++" as being reader's choices for best book of 2002. I don't know which readers, other than that they are Chinese. Subscribe to the free OOP Newsletter from Bruce Eckel Subscribing to the newsletter provides automatic notification when the book is revised and information about CD Roms and Java Seminars and workshops. As many of you have noticed, I am terribly swamped with email and am unable to answer programming questions. Steps for installing source code on your machine: Go to the download site and download the file titled Thinking in Java, 3rd Edition by clicking on this link and requesting that your browser save the file. Please note that these files were tested with the most recent version of Java. Using "ant" to compile the files We have created ant buildfiles for the code in Thinking in Java, 3rd edition. ant is an open-source, defacto standard tool that you can freely download from ant.apache.org. ant

Warbreaker by Brandon Sanderson Welcome! My name is Brandon Sanderson. Before anything else, I’d like to thank you for your interest in my books. In case you don’t know, I’m a professional fantasy novelist. My second book, Mistborn, is out in paperback. As many of you might already know, I was chosen in December of 2007 to complete Robert Jordan’s epic masterpiece The Wheel of Time. How this Book Came About Warbreaker is something of an experiment for me. And yet, one of my main reasons for releasing said e-book would be for publicity reasons. That made me want to offer something new. That leads us to Warbreaker. I like to have a lot of contact with my fans, and as I contemplated releasing a new book (rather than an old one) on my website, I had a chance to do something rarely seen. I decided to go ahead and give this a try. My Worries Releasing the book this way is a gamble for two reasons. First off, there’s the perennial fear that I think all artist get when they give away their art for free. Conclusion Enjoy.

The Java™ Tutorials The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available. See Java Language Changes for a summary of updated language features in Java SE 9 and subsequent releases. The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications. Trails Covering the Basics These trails are available in book form as The Java Tutorial, Sixth Edition. Creating Graphical User Interfaces Creating a GUI with Swing — A comprehensive introduction to GUI creation on the Java platform. Specialized Trails and Lessons These trails and lessons are only available as web pages. Custom Networking — An introduction to the Java platform's powerful networking features. The Java Tutorials have been written for JDK 8. Trails Covering the Basics These trails are available in book form as The Java Tutorial, Sixth Edition.

Digitally Signed java Applets If you have followed the tutorial so far you have an applet that requests special permissions and you have a signature which you can use to sign the applet, but you still need to package the classes properly into jarfile before you sign it. To create the jar, cd to the appropriate directory and type jar -cvf applet.jar com You are now ready to sign your first applet. The command is: jarsigner applet.jar colombo you will be prompted for the password to the keystore. Now all you need to do is to actually run the applet and that's very straight forward you do not need to anything special since the plug-in will take care of asking for extra permissions. That brings us to the end of part I of this article, we will return shortly to look at other ways in which we can 'jump' the sanbox'

7th Son: Descent “(T)hriller readers seeking edge-of-your-seat action flavored with conspiracy and futuristic tech will love every page.”—Publishers Weekly As America reels from the bizarre presidential assassination committed by a child, seven men are abducted from their normal lives and delivered to a secret government facility. Each man has his own career, his own specialty. The government now wants something from these “John Michael Smiths.” “(C)ombines political conspiracy and tomorrow’s bioengineering to create an accessible package for fans of conspiracy theories and high-tech speculative fiction.” “Hutchins’ high-tech nightmares leap off the page and lodge in your brain like a literary headshot. “Loaded with rip-roaring action.”

Understanding Signing and Verification (The Java™ Tutorials > Deployment > Packaging Programs in JAR Files) The Java™ platform enables you to digitally sign JAR files. You digitally sign a file for the same reason you might sign a paper document with pen and ink -- to let readers know that you wrote the document, or at least that the document has your approval. When you sign a letter, for example, everyone who recognizes your signature can confirm that you wrote the letter. Similarly when you digitally sign a file, anyone who "recognizes" your digital signature knows that the file came from you. When the JAR file is signed, you also have the option of time stamping the signature. The ability to sign and verify files is an important part of the Java platform's security architecture. Once you (or your browser) have verified that an applet is from a trusted source, you can have the platform relax security restrictions to let the applet perform operations that would ordinarily be forbidden. The private key is the electronic "pen" with which you can sign a file. To summarize digital signing:

1633 by David Weber and Eric Flint - WebScription Ebook Welcome to Baen Ebooks, purveyors of DRM-free ebooks. This means you can enjoy your ebooks on as many eReaders as you choose for no additional cost. Browse this month's new releases below: eARC, Ebook, Grantville Gazette. As of December 16th, 2012, Baen ebooks are now available for sale at other vendors as well as at this site. Available exclusively at Baen.com are eARCs and serialized monthly bundles at our previous prices. Baen Monthly Bundles are available for purchase until the 15th of each month. Happy reading! Monster Hunter Nemesis - eARC by Larry Correia Agent Franks of the U.S. Good thing he’s on our side. Project Nemesis: in a secret location, using sophisticated technology and advanced genetic engineering, the director of the very agency Franks works for is making more like him. Now all bets are off, and Hell hath no fury like a monster betrayed. Order Now The Sea of Time - eARC by P.C. Order Now 1636: Commander Cantrell in the West Indies - eARC by Eric Flint & Charles E.

Signed Applet Tutorial by Larry Siden Introduction While volunteering on a pro-bono project at Menlo Innovations my colleagues and I encountered a problem. java.security.AccessControlException: access denied (java.net.SocketPermission www.google.com connect,resolve) Background Java virtual machines run applets under a different security regime than applications. The JVM's security policy is set by a the file $JAVA_HOME/jre/lib/security/java.policy. It's syntax is described by Default Policy Implementation and Policy File Syntax . When I create an applet and test it with Eclipse's VM, Eclipse creates a file named java.policy.applet in the project root directory. /* AUTOMATICALLY GENERATED ON Tue Apr 16 17:20:59 EDT 2002*/ /* DO NOT EDIT */ grant { permission java.security.AllPermission; }; As you can see, there is no codebase parameter here. In order to recreate this scenario at home, I wrote a simple applet at home that produces the same behavior our team encountered. Digital Certificates

Accelerando This free ebook edition is made available by kind consent of my publishers, Ace and Orbit, under a Creative Commons license with certain restrictions attached. In particular, you may not create derivative works or use the work for commercial gain. Let me repeat that: RESELLING THIS EBOOK FOR MONEY IS A VIOLATION OF THE CREATIVE COMMONS LICENSE and will get you the attention of my publishers' legal departments. I hope that if you enjoy the ebook you'll consider buying my other books, but this is the only reminder you'll get. Formats: The book is available for reading in HTML, with minimal markup (to make it easier for web clipping utilities to digest it). ePub format ebook MobiPocket format ebook Aportis Doc format ebook Rich Text Format file Confused by this singularity thing? On beginnings Well, after I finished chewing my beard Andy got his piece. "Accelerando" is a creature of its time, and that time is the late 1990s.

Creating a JAR File (The Java™ Tutorials > Deployment > Packaging Programs in JAR Files) The basic format of the command for creating a JAR file is: jar cf jar-file input-file(s) The options and arguments used in this command are: The c option indicates that you want to create a JAR file.The f option indicates that you want the output to go to a file rather than to stdout.jar-file is the name that you want the resulting JAR file to have. You can use any filename for a JAR file. The c and f options can appear in either order, but there must not be any space between them. This command will generate a compressed JAR file and place it in the current directory. Note: The metadata in the JAR file, such as the entry names, comments, and contents of the manifest, must be encoded in UTF8. You can add any of these additional options to the cf options of the basic command: When you create a JAR file, the time of creation is stored in the JAR file. Let us look at an example. TicTacToe folder Hierarchy The audio and images subdirectories contain sound files and GIF images used by the applet.

The Forlorn by Dave Freer - Baen Books Welcome to Baen Ebooks, purveyors of DRM-free ebooks. This means you can enjoy your ebooks on as many eReaders as you choose for no additional cost. Browse this month's new releases below: eARC, Ebook, Grantville Gazette. (Want to know what an eARC is? click here to find out.) As of December 16th, 2012, Baen ebooks are now available for sale at other vendors as well as at this site. Available exclusively at Baen.com are eARCs and serialized monthly bundles at our previous prices. Baen Monthly Bundles are available for purchase until the 15th of each month. Happy reading! The Rods and the Axe - eARC by Tom Kratman Book #6 in the popular Carrera military science fiction series. Tarawa. Balboa’s Patricio Carrera has driven the Tauran Union from his adopted country, driven them out with appalling loss and worse humiliation. Carrera understands this. But to get to Carrera, the Zhong must take the Isla Real, the strongest island fortress on two worlds. Gallipoli… Malta… Marathon. Order Now

Related: