Sunday, January 26, 2014
Saturday, January 25, 2014
Thursday, January 23, 2014
Main thread,child thread Spawning using reflection and exception problem
Domain thread know about about exception if child thread throws exception
Importance of java bean compatibiity in framework development
Can be easily integrated with other framework
Sunday, January 19, 2014
Saturday, January 18, 2014
Applying Advance Oriented Programming to develop software modules
Designing a huge software system using object oriented programming.
Blocking Queues
A blocking queue causes a thread to block when you try to add an element when the queue is currently
full or to remove an element when the queue is empty. Blocking queues are a useful tool for coordinating the work of multiple threads
full or to remove an element when the queue is empty. Blocking queues are a useful tool for coordinating the work of multiple threads
Friday, January 17, 2014
Unicode character and java programming language
Java programming language itself is fully Unicode based
Thursday, January 16, 2014
Wednesday, January 15, 2014
Monday, January 13, 2014
Wednesday, January 8, 2014
Tuesday, January 7, 2014
Monday, January 6, 2014
Saturday, January 4, 2014
Points to be considered while designing a framework
How to take out the common task to framework part with certain abstraction
How to propagate exception between JVMs
Propagate exception from Dao layer to Service layer to Client layer
Best practice for passing parameter between multiple JVMs.
Encourage object wrapper instead of String OR BigDecimal
Friday, January 3, 2014
Thursday, January 2, 2014
Java SE 10 Planned features
Planned features
Removing primitive data types and move towards 64-bit addressable arrays to support large data sets
Removing primitive data types and move towards 64-bit addressable arrays to support large data sets
Java SE 9 Planned features
Planned features
JSR 294: Modularization of the JDK under Project Jigsaw
JSR 354: Money and Currency API
Tight integration with JavaFX
add automatic parallelization using OpenCL
JSR 294: Modularization of the JDK under Project Jigsaw
JSR 354: Money and Currency API
Tight integration with JavaFX
add automatic parallelization using OpenCL
Java SE8 Features
JSR 335: Language-level support for lambda expressions (officially, lambda expressions; unofficially, closures) under Project Lambda. There was an ongoing debate in the Java community on whether to add support for lambda expressions. Sun later declared that lambda expressions would be included in Java and asked for community input to refine the feature.
JSR 223: Project Nashorn, a JavaScript runtime which allows developers to embed JavaScript code within applications
JSR 308: Annotations on Java Types
JSR 310: Date and Time API
Java SE 7 features
Strings in switch Statement
Type Inference for Generic Instance Creation
Multiple Exception Handling
Support for Dynamic Languages
Try with Resources
Java nio Package
Binary Literals, underscore in literals
Diamond Syntax
Automatic null Handling
Concurrency utilities under JSR 166
New file I/O library to enhance platform independence and add support for metadata and symbolic links. The new packages are java.nio.file and java.nio.file.attribute
Timsort is used to sort arrays instead of merge sort
Library-level support for elliptic curve cryptography algorithms
An XRender pipeline for Java 2D, which improves handling of features specific to modern GPUs
New platform APIs for the graphics features originally implemented in version 6u10 as unsupported APIs
Enhanced library-level support for new network protocols, including SCTP and Sockets Direct Protocol
Upstream updates to XML and Unicode
JVM support for dynamic languages, with the new invokedynamic bytecode under JSR-292 following the prototyping work currently done on the Multi Language Virtual Machine
Compressed 64-bit pointers
Type Inference for Generic Instance Creation
Multiple Exception Handling
Support for Dynamic Languages
Try with Resources
Java nio Package
Binary Literals, underscore in literals
Diamond Syntax
Automatic null Handling
Concurrency utilities under JSR 166
New file I/O library to enhance platform independence and add support for metadata and symbolic links. The new packages are java.nio.file and java.nio.file.attribute
Timsort is used to sort arrays instead of merge sort
Library-level support for elliptic curve cryptography algorithms
An XRender pipeline for Java 2D, which improves handling of features specific to modern GPUs
New platform APIs for the graphics features originally implemented in version 6u10 as unsupported APIs
Enhanced library-level support for new network protocols, including SCTP and Sockets Direct Protocol
Upstream updates to XML and Unicode
JVM support for dynamic languages, with the new invokedynamic bytecode under JSR-292 following the prototyping work currently done on the Multi Language Virtual Machine
Compressed 64-bit pointers
Java SE 6 features
Scripting Language Support.Generic API for tight integration with scripting languages, and built-in Mozilla JavaScript Rhino integration
JDBC 4.0 API
Java Compiler API
Pluggable Annotations
Native PKI, Java GSS, Kerberos and LDAP support.
Integrated Web Services.Improved Web Service support through JAX-WS (JSR 224)
Lot more enhancements.
integration of SwingWorker in the API
Upgrade of JAXB to version 2.0: Including integration of a StAX parser.
Java Compiler API (JSR 199): an API allowing a Java program to select and invoke a Java Compiler programmatically.
JVM improvements include: synchronization and compiler performance optimizations, new algorithms and upgrades to existing garbage collection algorithms, and application start-up performance
how threads interact through memory.
JDBC 4.0 API
Java Compiler API
Pluggable Annotations
Native PKI, Java GSS, Kerberos and LDAP support.
Integrated Web Services.Improved Web Service support through JAX-WS (JSR 224)
Lot more enhancements.
integration of SwingWorker in the API
Upgrade of JAXB to version 2.0: Including integration of a StAX parser.
Java Compiler API (JSR 199): an API allowing a Java program to select and invoke a Java Compiler programmatically.
JVM improvements include: synchronization and compiler performance optimizations, new algorithms and upgrades to existing garbage collection algorithms, and application start-up performance
how threads interact through memory.
J2SE 5.0 featues
Generics
Enhanced for Loop
Autoboxing/Unboxing
Typesafe Enums
Varargs
Static Import
Metadata (Annotations)
Instrumentation
Enumerations
Enhanced for each loop
Static imports
Automatic stub generation for RMI objects.
The concurrency utilities in package java.util.concurrent.
Scanner class for parsing data from various input streams and buffers
Enhanced for Loop
Autoboxing/Unboxing
Typesafe Enums
Varargs
Static Import
Metadata (Annotations)
Instrumentation
Enumerations
Enhanced for each loop
Static imports
Automatic stub generation for RMI objects.
The concurrency utilities in package java.util.concurrent.
Scanner class for parsing data from various input streams and buffers
J2SE 1.4 features
Major improvement
XML Processing
Java Print Service
Logging API
Java Web Start
JDBC 3.0 API
Assertions
Preferences API
Chained Exception
IPv6 Support
Regular Expressions
Image I/O API
regular expressions modeled after Perl regular expressions
exception chaining allows an exception to encapsulate original lower-level exception
Internet Protocol version 6 (IPv6) support
non-blocking IO (named NIO) (New Input/Output) (Specified in JSR 51.)
logging API (Specified in JSR 47.)
image I/O API for reading and writing images in formats like JPEG and PNG
integrated XML parser and XSLT processor (JAXP) (Specified in JSR 5 and JSR 63.)
integrated security and cryptography extensions (JCE, JSSE, JAAS)
Java Web Start included (Java Web Start was first released in March 2001 for J2SE 1.3) (Specified in JSR 56.)
Preferences API (java.util.prefs)
XML Processing
Java Print Service
Logging API
Java Web Start
JDBC 3.0 API
Assertions
Preferences API
Chained Exception
IPv6 Support
Regular Expressions
Image I/O API
regular expressions modeled after Perl regular expressions
exception chaining allows an exception to encapsulate original lower-level exception
Internet Protocol version 6 (IPv6) support
non-blocking IO (named NIO) (New Input/Output) (Specified in JSR 51.)
logging API (Specified in JSR 47.)
image I/O API for reading and writing images in formats like JPEG and PNG
integrated XML parser and XSLT processor (JAXP) (Specified in JSR 5 and JSR 63.)
integrated security and cryptography extensions (JCE, JSSE, JAAS)
Java Web Start included (Java Web Start was first released in March 2001 for J2SE 1.3) (Specified in JSR 56.)
Preferences API (java.util.prefs)
J2SE Version 1.3 features
Major improvement
HotSpot JVM included (the HotSpot JVM was first released in April 1999 for the J2SE 1.2 JVM)
RMI was modified to support optional compatibility with CORBA
Java Naming and Directory Interface (JNDI) included in core libraries (previously available as an extension)
Java Platform Debugger Architecture (JPDA)
JavaSound
Synthetic proxy classes
Jar Indexing
HotSpot JVM included (the HotSpot JVM was first released in April 1999 for the J2SE 1.2 JVM)
RMI was modified to support optional compatibility with CORBA
Java Naming and Directory Interface (JNDI) included in core libraries (previously available as an extension)
Java Platform Debugger Architecture (JPDA)
JavaSound
Synthetic proxy classes
Jar Indexing
J2SE Version 1.2 features
This was a very significant release of Java as it tripled the size of the Java platform to 1520 classes in 59 packages. Major additions included
strictfp keyword
the Swing graphical API was integrated into the core classes
Sun's JVM was equipped with a JIT compiler for the first time
Java IDL, an IDL implementation for CORBA interoperability
Collections framework
Java String memory map for constants.
Just In Time (JIT) compiler.
Jar Signer for signing Java ARchive (JAR) files.
Policy Tool for granting access to system resources.
Java Foundation Classes (JFC) which consists of Swing 1.0, Drag and Drop, and Java 2D class libraries.
Java Plug-in
Scrollable result sets, BLOB, CLOB, batch update, user-defined types in JDBC.
Audio support in Applets.
strictfp keyword
the Swing graphical API was integrated into the core classes
Sun's JVM was equipped with a JIT compiler for the first time
Java IDL, an IDL implementation for CORBA interoperability
Collections framework
Java String memory map for constants.
Just In Time (JIT) compiler.
Jar Signer for signing Java ARchive (JAR) files.
Policy Tool for granting access to system resources.
Java Foundation Classes (JFC) which consists of Swing 1.0, Drag and Drop, and Java 2D class libraries.
Java Plug-in
Scrollable result sets, BLOB, CLOB, batch update, user-defined types in JDBC.
Audio support in Applets.
JDK Version 1.1 features
an extensive retooling of the AWT event model
inner classes added to the language
JavaBeans
JDBC
RMI
reflection which supported Introspection only, no modification at runtime was possible.
JIT(Just In Time) compiler on Microsoft Windows platforms, produced for JavaSoft by Symantec
inner classes added to the language
JavaBeans
JDBC
RMI
reflection which supported Introspection only, no modification at runtime was possible.
JIT(Just In Time) compiler on Microsoft Windows platforms, produced for JavaSoft by Symantec
JDK Version 1.0 features
In versions of Java and the JDK up to 1.0.1, you could use private and protected together to create yet another form of protection that would restrict access to methods or variables solely to subclasses of a given class. As of 1.0.2, this capability has been removed from the language.
Wednesday, January 1, 2014
Java Exception Handling
Exceptions in Java
Exception Classes
Exception Statement Syntax
Rules for try, catch and finally Blocks
try, catch and finally
Defining new Exceptions
throw, throws statement
Handling Multiple Exceptions
Exception Classes
Exception Statement Syntax
Rules for try, catch and finally Blocks
try, catch and finally
Defining new Exceptions
throw, throws statement
Handling Multiple Exceptions
Subscribe to:
Posts (Atom)