HOME      
Fundamentals Eclipse IDE
Advanced  
JSP, Servlets Recently added or updated
Swing Bitcoin
Android  
JavaScript  
Bitcoin donation, thank you
1N3GzjrsHJgZFb46X1dHRBWkxvEEdTqsao

Java Advanced

IO, Files

a1.
Readers, Writers
  • Writing, reading String lines.
  • FileWriter/Reader, PrintWriter, BufferedReader.
  • Adding to an existing file.
  • Untrusted code.
a2.
ByteStreams
  • Writing, reading binary data : bytes, ints, doubles etc...
  • FileOut/InputStream, DataOut/InputStream
a3.
Update a File
  • I/O on file.
  • Random access.
  • File pointer.
a4.
Writing, reading objects
  • ObjectOut/InputStream.
  • Serializable.

JDBC, Databases

a5.
Java DataBase Connectivity, JDBC
  • Loading a database driver.
  • Driver types.
  • Connecting to database.
  • Using SQL.
  • Commit, rollback.
  • DataSource, JNDI.
a6.
JDBC Prepared Statements
  • Using PreparedStatement
a7.
JDBC 2
  • Updatable rowsets
  • Positioning cursor

Collections

a8.
List
  • java.util.ArrayList
  • java.util.LinkedList
  • Add, search, remove
  • Index
  • Iterating
  • Sorting
  • generics
a9.
Set
  • java.util.HashSet
  • java.util.TreeSet
  • Add, search, remove
  • Iterating
  • generics
a10.
Map
  • java.util.HashMap
  • java.util.TreeMap
  • Key-value pairs
  • Add, search, remove
  • Iterating
  • generics
a11.
Properties
  • Managing key-value pairs in Properties.
  • Lookup.
  • Handling Enumeration.
  • Reading from URL.
a12.
Sorting
  • Sorting regular arrays
  • Fast search
a12-5.
Bulk operations
  • addAll
  • containsAll
  • retainAll
  • removeAll

Beans

a13.
Beans 1
  • Making a visual bean, that can be saved and restored, for easy use in a builder tool.
a14.
Beans 2
  • Adding a property.
a15.
Beans 3
  • Adding event generation.
  • Deployment in .jar file.
  • Manifest file.
a15-5.
Beans 4 Property change and veto
  • PropertyChangeListeners
  • VetoableChangeListeners
  • PropertyChangeSupport
  • VetoableChangeSupport

Multithreading

a16.
Threads 1
  • Separate task through thread within same class.
  • Pausing it.
  • Runnable, run.
a17.
Threads 2
  • Thread class subclass.
  • Synchronizing threads, one at a time.
  • wait, notify.
  • Stopping thread.
a18.
Threads 3
  • Using synchronized for exclusive use of an object.
  • Setting priorities.

Security

a19.
Code Signing
  • Making code to be trusted.
  • Public/private keys.
  • Making and signing a Java Archive, .jar , file.
  • Keystore.
  • Certificates, CA.
  • Policy file.
a20.
Policy files
  • System policy.
  • User policy.
  • Permissions.

Network, Server/Client techniques

a21.
Sockets
  • Processes communicating through the network.
  • Server listening on port.
  • Socket,ServerSocket.
a22.
Remote Method Invocation
RMI
  • Registering as RMI server.
  • Finding this from client.
  • Calling its methods via the net.
  • Policy files.
a23.
Using a SOAP Web Service
  • Generate standalone client
  • WSDL
  • Using Eclipse, Axis
  • Google's API
  • TCP/IP Monitor
a24.
CORBA
  • Registering as CORBA server.
  • Finding this from client.
  • Calling its methods via the net.
  • Object Request Broker, ORB .
  • Interface Definition Language, IDL .

Various

a25.
Java Mail
  • Sending mail.
  • Receiving mail.
  • Mail + attachment.
  • Deleting mail.
a26.
Apache Ant
  • Various tasks
  • Targets
a27.
XML 1
  • build DOM
  • save
a28.
XML 2
  • parsing XML