Beyond Knowledge Transformation Cover Image of Book Book name,author,and publication logo detail Copyright Management Slogan message frame About the Authors Credits Content – by part in chapter Index Blank Template Acknowledgments Introduction Who This Book Is For Conventions Source Code Errata @Tm Site Vision Scope Story for Roadmap Sharp Requirement for Mission Develop your Exe from Scratch Basic framework for Exe Innovation Web Application Development Exe Generation Tools & Techniques Resources & Code Content: 1) First Reader 2) Basics of Do’s & Don’ts 3) Goal of the Vision in Development 4) System Requirement , System Setup(Software Design) 5) Overview of Software Engineering Framework 6) Analysis of Best Practices & Methodology 7) Start the Journey with Brain Scratch(Application UI Design) 8) Exe for Web Application Development 9) Resources & Code 10) Help Desk for you 11) Innovation in Technology 12) Beyond the Analysis
"This book is dedicated to all those who make the daily sacrifices, Especially those who have made the ultimate sacrifice, to ensure our Freedom and security."
About the Author & Team & Colleges & Motivated Innovation:
Deepanshu is a software consultant concentrating on EXE Java solutions for highly specialized business processes. He has fielded many Java solutions, serving in roles including programmer, development lead, and program manager. As an social professor of computer science for Innovation Group, he teaches programme-level coursework in object-oriented development with Java. He holds degrees from Institute of Technology.
He has already worked in different highly reputed organization namely as TCS,HCL and IBM. He has given his services on different projects for reputed Clients namely as Equifax ,Warner Brothers and IBM itself. He currently serves in a lead position as an developer on an enterprise development Project as AADHAR. In his spare time, He loves most listening music as a great unexpressed hearty feeling including Carrom playing with master’s friend’s lovely passionate circle, watching Cricket as Great Sachin Tendulkar fan and playing chess with Mr. Anand’s Internet moves with learning phase, and sitting around Internet complaining about things.
* 40 Set-up Your Application Development Center * 41 Analysis of Software Best Practices & Methodology
4)Enjoy the Trip with Brain Cell Mussel
Part V Application Development with Exe Innovation 1496 * 42 Requirement Gathering of Application Development 1495 * 43 Implementation with Application GUI 1499-1516 * 44 Application Framework Component Development * 45 EXE Generation for your Application Goal 2056
Part VI Exe Generation Tools & Techniques * 46 Rest in Exe Innovation World * 47 Different Implementation with Tools & Techniques GUI * 48 Resources for the Innovative Think
5)Code & Resources
Part VII Code Guidance * 49 Take your Code * 50 Help & Technical Desk for you * 51 Innovations in Technology * 52 Beyond the Analysis
It was the day, someday, while I was in thinking to solve the bug in programming as other programmers do in different – different way in our DEVEOPMENT ODC Center. Till this time, I didn’t know anything, how I have to take the next step?
I came apart from the best practices and methodologies from a long time for the above mentioned process. This process has so much fever from the articles and resources from the Web-Innovation.
WHat I am trying to say? To all of you pretty readers, folks and programmers Era-in.
In my past seven years, I learned and innovated also and so enough resources around the topic
I.e. Innovation phase of community, blogs, and articles written yet.
The Problem was unresolved. I was hopeless because there was not enough solution with the F/W
i.e. Framework around the solution. I was in middle of tunnel which has bright side at up-in-front.
From that darkness of, correct analysis and implementation of Project, the bug was like a virus for
System of Success of project. It was just about to end of Innovation due to unavailable enough resource.
But…..This is IT Industry where the slogan fits…”Necessity is the mother of Invention” and
“There is way, where the WILL is!” It means “Innovation takes New Breath everyday in IT”.
I again re-Innovated the Innovation and finally step by step I came across the solution.
It was the real time to feel the happiness of getting the practical Research in that Innovation.
The bug and project or you can say in over all ,the Solution for IT Innovative Character in view of slogan of Re-Innovation i.e. Quality. In terms of Quality, we always need your suggestions, feedback and as well as your Innovation. Behind the Success of this achievement in Execution, I would like to say to all of you ‘Thanks’.
The list is so long but I want to say equally to those all…Thanks for your Support and Help
By without, it was impossible.
Today it’s possible and it’s due to all of you. Finally I want to say to all readers Thanks Again.
Before jump into hurdle of EXE programming into JAVA World, let’s have a look into the Birth of Computer Generation & phase of cycle ‘Innovation in Programme World’ .So This Section will help you to understand the arena of computer Genethe which has made the human life better & better by the Generation.
The story behind the invention of Computer Generation is to invent the ‘Calculator’
IBM has introduced the ‘punch card machine to read the machine instruction set to execute & to print & to understand the sequence of execution.
First of all, to all of you as ‘The first reader’, I would like to say ‘Thank you’ for showing your interest for the book. Every book as ‘pilot project’ is a result of efforts beyond the creation of team work. This is also not the exception. A lots of efforts has been put behind the presence of book.
We are glad that you are going to innovate the Technology world by your upcoming new innovation in near future.
Why I am saying this? Because in our childhood we see the TV, radio etc the entertaining media but we have not thought that It’s also the effort of a team or sometimes a single innovation .Really these innovation in field of social, entertainment, facility and era is wordless & inexpressible here.
The bottom line , by growth of childness of Calculator n punch Card Reader, we have got the youn generation of computer today.
I want to give the full credit to make this ‘possible’ behind the ‘unknown Success’.
We have made one step for you & we expect that in one of our reader will surely make the next innovation.
Ø Getting the basic idea of JAVA Program. Ø Clear understanding of Web Programming with J2EE Practice Ø To make New Innovation by using EXE Model Framework Ø To make better human needs & facilitates the human life.
This Section will help you to prepare the sharp requirement for the Mission. For Exe Programming with JAVA is quite easy stuff if you will be able to get the exact framework environment as per development scenario.
Before getting the requirement to execute the project, it will be good to read carefully Part II.
1) This book is intended to give the basic understanding the EXE programming apart from basic JAVA World Innovation. This book has designed on the concept of giving the same way to fresher’s & experienced programmer to programmer concern. This is just our trial to make the whole effort behind the JAVA or any relevant technology Innovation. 2) We expect that you might have some prior knowledge of JAVA so it will easy and quick to understand the framework of JAVA & EXE Innovation. 3) Follow the sequential notes made in Important Highlights. 4) Implement the best practice model if there is not in any area of implementation. 5) Download the exact version specification supplied in index 1.0.1. 6) Remember your portal User Information to save your important critical time on on-line tasks.
Don’ts
1) Don’t edit the source code to execute in successful way if you are using code as it is. 2) Make sure that your machine has appropriate technical specification to get the achievement. Don’t use any in-appropriate machine configuration to implement & test the code of book. Follow the instructions & steps according to sections & implementation. 3) Never disclose your PIN to technical support team if needed. Contact our Technical Team for any concern.
Goal of Vision in the Development
The Goal of this presentation is:-
Ø Getting the basic idea of JAVA Program. Ø Clear understanding of Web Programming with J2EE Practice Ø To make New Innovation by using EXE Model Framework Ø To make better human needs & facilitates the human life.
Welcome 2 Java World! JAVA 2 SE Installations & Configuration: 1) Go to D:\Software Repository@Aryansh\javasoft\Jdk & JRE\jdk-6u38-windows-i586.exe and double click on this exe. 2) Then Next window will appear:-
Question : How you will install and configure JAVA in your system.
Ans : We install JAVA by installing JDK and we configure JAVA in our system by configuring the "PATH and CLASSPATH VAriable." in System Properties under Environment Variable Configuration with system process management in Windows, and in different OS (Operating System as Solaris,UNIX, and in more)
The tutorial in PDF was concern for "Windows Environment" other than Operating System as Solaris,UNIX, and much more fashion of JAVA Technology.
First time, we are saying JAVA as 'Technology' other then also 'Language'.
Ans : To understand the Java virtual machine you must first be aware that you may be talking about any of three different things when you say "Java virtual machine." You may be speaking of:
1) The abstract specification, 2) A concrete implementation, or 3) A runtime instance
. The abstract specification is a concept, described in detail in the book: The Java Virtual Machine Specification, by Tim Lindholm and Frank Yellin. Concrete implementations, which exist on many platforms and come from many vendors, are either all software or a combination of hardware and software. A runtime instance hosts a single running Java application. Each Java application runs inside a runtime instance of some concrete implementation of the abstract specification of the Java virtual machine. In this book, the term "Java virtual machine" is used in all three of these senses. Where the intended sense is not clear from the context, one of the terms "specification," "implementation," or "instance" is added to the term "Java virtual machine".
The Java Runtime Environment (JRE), also known as Java Runtime, is part of the Java Development Kit (JDK), a set of programming tools for developing Java applications. The Java Runtime Environment provides the minimum requirements for executing a Java application; it consists of the Java Virtual Machine (JVM), core classes, and supporting files.
A Java Development Kit (JDK) is a program development environment for writing Java applets and applications. It consists of a runtime environment that "sits on top" of the operating system layer as well as the tools and programming that developers need to compile, debug, and run applets and applications written in the Java language.
A Java compiler is a compiler for the Java programming language. The most common form of output from a Java compiler is Java class files containing platform-neutral Java bytecode. There exist also compilers emitting optimized native machine code for a particular hardware/operating system combination.
Most Java-to-bytecode compilers, Jikes being a well known exception, do virtually no optimization, leaving this until run time to be done by the JRE[citation needed].
The Java Virtual Machine (JVM) loads the class files and either interprets the bytecode or just-in-time compiles it to machine code and then possibly optimizes it using dynamic compilation.
A standard on how to interact with Java compilers programmatically was specified in JSR 199.
Welcome to another installment of "Under The Hood." This column gives Java developers a glimpse of what is going on beneath their running Java programs. This month's article takes an initial look at the bytecode instruction set of the Java virtual machine (JVM). The article covers primitive types operated upon by bytecodes, bytecodes that convert between types, and bytecodes that operate on the stack. Subsequent articles will discuss other members of the bytecode family.
The bytecode format Bytecodes are the machine language of the Java virtual machine. When a JVM loads a class file, it gets one stream of bytecodes for each method in the class. The bytecodes streams are stored in the method area of the JVM. The bytecodes for a method are executed when that method is invoked during the course of running the program. They can be executed by intepretation, just-in-time compiling, or any other technique that was chosen by the designer of a particular JVM.
A method's bytecode stream is a sequence of instructions for the Java virtual machine. Each instruction consists of a one-byte opcode followed by zero or more operands. The opcode indicates the action to take. If more information is required before the JVM can take the action, that information is encoded into one or more operands that immediately follow the opcode.
Each type of opcode has a mnemonic. In the typical assembly language style, streams of Java bytecodes can be represented by their mnemonics followed by any operand values. For example, the following stream of bytecodes can be disassembled into mnemonics:
The bytecode instruction set was designed to be compact. All instructions, except two that deal with table jumping, are aligned on byte boundaries. The total number of opcodes is small enough so that opcodes occupy only one byte. This helps minimize the size of class files that may be traveling across networks before being loaded by a JVM. It also helps keep the size of the JVM implementation small.
All computation in the JVM centers on the stack. Because the JVM has no registers for storing abitrary values, everything must be pushed onto the stack before it can be used in a calculation. Bytecode instructions therefore operate primarily on the stack. For example, in the above bytecode sequence a local variable is multiplied by two by first pushing the local variable onto the stack with the iload_0 instruction, then pushing two onto the stack with iconst_2. After both integers have been pushed onto the stack, the imul instruction effectively pops the two integers off the stack, multiplies them, and pushes the result back onto the stack. The result is popped off the top of the stack and stored back to the local variable by the istore_0 instruction. The JVM was designed as a stack-based machine rather than a register-based machine to facilitate efficient implementation on register-poor architectures such as the Intel 486.
Ans) Polymorphism gives us the ultimate flexibility in extensibility. The abiltiy to define more than one function with the same name is called Polymorphism. In java,c++ there are two type of polymorphism: compile time polymorphism (overloading) and runtime polymorphism (overriding).
When you override methods, JVM determines the proper methods to call at the program’s run time, not at the compile time. Overriding occurs when a class method has the same name and signature as a method in parent class.
Overloading occurs when several methods have same names with
Overloading is determined at the compile time. Different method signature and different number or type of parameters. Same method signature but different number of parameters. Same method signature and same number of parameters but of different type =============================================================
Ans) Inheritance is the property which allows a Child class to inherit some properties from its parent class. In Java this is achieved by using extends keyword. Only properties with access modifier public and protected can be accessed in child class.
Q3) What is multiple inheritance and does java support?
Ans) If a child class inherits the property from multiple classes is known as multiple inheritance. Java does not allow to extend multiple classes but to overcome this problem it allows to implement multiple Interfaces.
Q4) What is abstraction?
Ans) Abstraction is way of converting real world objects in terms of class. For example creating a class Vehicle and injecting properties into it.
Ans) The encapsulation is achieved by combining the methods and attribute into a class. The class acts like a container encapsulating the properties. The users are exposed mainly public methods.The idea behind is to hide how thinigs work and just exposing the requests a user can do.
Q6) What is Association?
Ans) Association is a relationship between two classes. In this relationship the object of one instance perform an action on behalf of the other class. The typical behaviour can be invoking the method of other class and using the member of the other class.
Ans) Aggregation has a relationship between two classes. In this relationship the object of one class is a member of the other class. Aggregation always insists for a direction.
Q8) What is Composition?
Ans) Composition is a special type of aggregation relationship with a difference that its the compulsion for the OtherClass object (in previous example) to exist for the existence of MyMainClass.
As of now,we have taken the overview of OOPS,We will have a closer look with code implementation in EXE world 2 understand better how OOPS implies with JAVA.
The Java language supports three kinds of comments:
1)Single -Line Comment
// yoiur comment
The compiler ignores everything from // to the end of the line.
2) Multiple Line Comment :
/* your comment */ The compiler ignores everything from /* to */.
3)Documentation Comment for Generated HTML Docs
/** documentation comment as per guideline*/
This indicates a documentation comment (doc comment, for short). The compiler ignores this kind of comment, just like it ignores comments that use /* and */. The JDK javadoc tool uses doc comments when preparing automatically generated documentation. For more information on javadoc, see the Java tool documentation.
Java defines eight simple (or elemental) types of data: byte, short, int, long, char, float, double, and boolean. These can be put in four groups: ■ Integers This group includes byte, short, int, and long, which are for wholevalued signed numbers. ■ Floating-point numbers This group includes float and double, which represent numbers with fractional precision. ■ Characters This group includes char, which represents symbols in a character set, like letters and numbers. ■ Boolean This group includes boolean, which is a special type for representing true/false values.
Encape Sequence List ======================================================== Escape Sequence Description
\ddd Octal character (ddd) \uxxxx Hexadecimal UNICODE character (xxxx) \’ Single quote \” Double quote \\ Backslash \r Carriage return \n New line (also known as line feed) \f Form feed \t Tab \b Backspace ========================================================
White-space in JAVA "JAVA automatic manage garbage Collection but no means 2 left in code fashion."
"Java is space free programme."
============================================================ Question : Separators in JAVA
Ans : Symbol Name Purpose(in following order)
1) ( ) Parentheses Used to contain lists of parameters in method definition and invocation. Also used for defining precedence in expressions, containing expressions in control statements, and surrounding cast types.
2) { } Braces Used to contain the values of automatically initialized arrays. Also used to define a block of code, for classes, methods, and local scopes.
3) [ ] Brackets Used to declare array types. Also used when dereferencing array values.
4) ; Semicolon Terminates statements. 5) , Comma Separates consecutive identifiers in a variable declaration. Also used to chain statements together inside a for statement. 6) . Period Used to separate package names from subpackages and classes. Also used to separate a variable or method from a reference variable.
======================================================= JVM Compiler Defined JAVA Keyword
Identifier or Variable Data in JVM : ====================================================== Which name(Java Keyword) you can use as per your wish & coding standards but keys are apart from Keys or Pre-Defined Identifier in JVM. ======================================================
Access Modifier & it's Protection Rules: ====================================================== Private Variables ,Protected Variables ,Public Variables and Default Variables are Access Modifier.
"Data Vs Variable in JVM Heap " ======================================================== In JAVA, we know we have Heap Memory.Variable lifetime is depend on access modifier level use.
For Data, we need to implement some list class which can hold the data after a transaction in JVM. ========================================================
Different type of conversion will occur when a floating-point value is assigned to an integer type: truncation. As you know, integers do not have fractional components. Thus, when a floating-point value is assigned to an integer type, the fractional component is lost.
1)In addition to the elevation of bytes and shorts to int, Java defines several type promotion rules that apply to expressions. They are as follows. First, all byte and short values are promoted to int, as just described. Then, if one operand is a long, the whole expression is promoted to long. If one operand is a float, the entire expression is promoted to float. If any of the operands is double, the result is double.
Please Have A look in the list along with chapters.
ReplyDeletePost Idea & Suggestion
Thank you 4 All.
Beyond Knowledge Transformation
ReplyDeleteCover Image of Book
Book name,author,and publication logo detail
Copyright Management
Slogan message frame
About the Authors
Credits
Content – by part in chapter Index
Blank Template
Acknowledgments
Introduction
Who This Book Is For
Conventions
Source Code
Errata
@Tm Site Vision Scope
Story for Roadmap
Sharp Requirement for Mission
Develop your Exe from Scratch
Basic framework for Exe Innovation
Web Application Development
Exe Generation Tools & Techniques
Resources & Code
Content:
1) First Reader
2) Basics of Do’s & Don’ts
3) Goal of the Vision in Development
4) System Requirement , System Setup(Software Design)
5) Overview of Software Engineering Framework
6) Analysis of Best Practices & Methodology
7) Start the Journey with Brain Scratch(Application UI Design)
8) Exe for Web Application Development
9) Resources & Code
10) Help Desk for you
11) Innovation in Technology
12) Beyond the Analysis
Exe@Innovation
ReplyDeletewith
Java®Programming
ReplyDelete"This book is dedicated to all those who make the daily sacrifices,
Especially those who have made the ultimate sacrifice, to ensure our
Freedom and security."
About the Author & Team & Colleges & Motivated Innovation:
ReplyDeleteDeepanshu is a software consultant concentrating on EXE Java solutions for highly specialized
business processes. He has fielded many Java solutions, serving in roles including programmer,
development lead, and program manager. As an social professor
of computer science for Innovation Group, he teaches programme-level coursework in object-oriented
development with Java. He holds degrees from Institute of Technology.
He has already worked in different highly reputed organization namely as TCS,HCL and IBM.
He has given his services on different projects for reputed Clients namely as Equifax ,Warner Brothers and IBM itself. He currently serves in a lead position as an developer on an enterprise development
Project as AADHAR. In his spare time, He loves most listening music as a great unexpressed hearty feeling including Carrom playing with master’s friend’s lovely passionate circle, watching Cricket as Great Sachin Tendulkar fan and playing chess with Mr. Anand’s Internet moves with learning phase, and sitting around Internet complaining about things.
"Team Work is a great effort & Effects by Team Innovation."
ReplyDeleteCredits
Acquisitions Editor
Amit
Development Editor
Manoj kumar
Technical Editor
Rakesh & Umesh
Production Editor
Mr. James
Copy Editor
Aaradhna Devi
Editorial Manager
Manoranjan
Production Manager
Saaransh,Monu,Naveen,Ambuj,Ankit,Sonu,Abhishek,Shailaja,Mayank
Vice President and Executive Group Publisher
Mr. Vijay Dev
Vice President and Executive Publisher
Mr. Abhishek
Project Coordinator
Chandan Prasad
Graphics and Production Specialists
Rahul Singh
Mr. Ishwar
Quality Control Technicians
Ekta ,Nikita,Sajal,Rubina,Ritu,Varsha
Proofreading and Indexing
Richard Den
Brief Contents
ReplyDeleteAcknowledgements xxi
Introduction xxiii
1)Story for Roadmap 11
Part I The First Reader 12
* 1 Introductions to Computer & Programme World 14
* 2 The First Reader 14
* 3 Goal & Achievement of Presentation 15
2)Sharpe Requirement for Mission 16
Part II Our Goal & Your Target 17
* 4 Basics of Do’s & Don’ts 18
* 5 Goal of the Vision in Development 18
Part III Start your Journey & First Trip in JAVA World
* 6 Core Java Basic Fundamental 19
* 7 JAVA Beans 333
* 8 J2EE Architecture & J2EE Implementation 359-472
* 9 Database Programming with JDBC 419
* 10 Web Application Development Framework 527
* 11 Servlets & JSP in J2EE 552
* 12JSP BASICS 656
* 13 JSP Tag Librariers 766
* 14 Struts 795
* 15 JSF 889
* 16 Struts & JSF Mesh Framework 1017
* 17 Apache Ant 1019
* 18 Log4J 1029
* 19 JBOSS Server 1045
20 Tomcat Server 1108
3)Develop Your Exe from Scratch
Part IV System Requirement & Application Environment Set-up 1221
* 21 Downloads & Installation of System Environment 1222
* 22 JAVA 2 SE Download & Installation 1278
* 23 ANT Deployment Tool Configuration 1285
* 24 Tomcat Web Server Installation & Configuration 1289
* 25 JBOSS Application Server Installation & Configuration 1296
* 26 Oracle Databse Server Installation & Oracle SQL Developer Configuration 1303
* 27 Oracle SQL Tutorial 1333
* 28 Overview of Basic Software Engineering 1392
* 29 CVS & Configuration with MyEclipse 1408
* 30 Jnit 1416
* 31 HttpUnit 1433
* 32 MyEclipse Installation & ODC Configuration 1442
* 33 Web Application Development World 1454
* 34 WAD Framework and Server as Container 1455
* 35 Struts & Tiles layout Configuration upon WAD Framework 1458
* 36 Application Oracle DB Configuration for Installer Framework 1460
* 37 Application Specific Configuration upon WAD Framework 1462
* 38 Core J2EEPattern 1496
* 39 EJB in J2EE & JBOSS Deployment 1658
* 40 Set-up Your Application Development Center
* 41 Analysis of Software Best Practices & Methodology
4)Enjoy the Trip with Brain Cell Mussel
Part V Application Development with Exe Innovation 1496
* 42 Requirement Gathering of Application Development 1495
* 43 Implementation with Application GUI 1499-1516
* 44 Application Framework Component Development
* 45 EXE Generation for your Application Goal 2056
Part VI Exe Generation Tools & Techniques
* 46 Rest in Exe Innovation World
* 47 Different Implementation with Tools & Techniques GUI
* 48 Resources for the Innovative Think
5)Code & Resources
Part VII Code Guidance
* 49 Take your Code
* 50 Help & Technical Desk for you
* 51 Innovations in Technology
* 52 Beyond the Analysis
Ø References
Ø Index
*************************************************************************************************
ReplyDeleteStory for Roadmap
It was the day, someday, while I was in thinking to solve the bug in programming as other programmers do in different – different way in our DEVEOPMENT ODC Center. Till this time, I didn’t know anything, how I have to take the next step?
I came apart from the best practices and methodologies from a long time for the above mentioned process. This process has so much fever from the articles and resources from the Web-Innovation.
WHat I am trying to say? To all of you pretty readers, folks and programmers Era-in.
In my past seven years, I learned and innovated also and so enough resources around the topic
I.e. Innovation phase of community, blogs, and articles written yet.
The Problem was unresolved. I was hopeless because there was not enough solution with the F/W
i.e. Framework around the solution. I was in middle of tunnel which has bright side at up-in-front.
From that darkness of, correct analysis and implementation of Project, the bug was like a virus for
System of Success of project. It was just about to end of Innovation due to unavailable enough resource.
But…..This is IT Industry where the slogan fits…”Necessity is the mother of Invention” and
“There is way, where the WILL is!” It means “Innovation takes New Breath everyday in IT”.
I again re-Innovated the Innovation and finally step by step I came across the solution.
It was the real time to feel the happiness of getting the practical Research in that Innovation.
The bug and project or you can say in over all ,the Solution for IT Innovative Character in view of slogan of Re-Innovation i.e. Quality. In terms of Quality, we always need your suggestions, feedback and as well as your Innovation. Behind the Success of this achievement in Execution, I would like to say to all of you ‘Thanks’.
The list is so long but I want to say equally to those all…Thanks for your Support and Help
By without, it was impossible.
Today it’s possible and it’s due to all of you. Finally I want to say to all readers Thanks Again.
*************************************************************************************************
Part I
ReplyDeleteThe First Reader
Introductions to Computer & Programme World
vThe First Reader
vGoal & Achievement of Presentation
Introductions to Computer & Programme World
ReplyDeleteBefore jump into hurdle of EXE programming into JAVA World, let’s have a look into the Birth of Computer Generation & phase of cycle ‘Innovation in Programme World’ .So This Section will help you to understand the arena of computer Genethe which has made the human life better & better by the Generation.
The story behind the invention of Computer Generation is to invent the ‘Calculator’
IBM has introduced the ‘punch card machine to read the machine instruction set to execute & to print & to understand the sequence of execution.
The story & generation is long to discuss here.
A Good link 2 see the Computer Generation by processor
ReplyDeletehttp://en.wikipedia.org/wiki/List_of_Intel_CPU_microarchitectures
"The First Reader - You,my sweet llolz"
ReplyDeleteFirst of all, to all of you as ‘The first reader’, I would like to say ‘Thank you’ for showing your interest for the book. Every book as ‘pilot project’ is a result of efforts beyond the creation of team work. This is also not the exception. A lots of efforts has been put behind the presence of book.
We are glad that you are going to innovate the Technology world by your upcoming new innovation in near future.
Why I am saying this? Because in our childhood we see the TV, radio etc the entertaining media but we have not thought that It’s also the effort of a team or sometimes a single innovation .Really these innovation in field of social, entertainment, facility and era is wordless & inexpressible here.
The bottom line , by growth of childness of Calculator n punch Card Reader, we have got the youn generation of computer today.
I want to give the full credit to make this ‘possible’ behind the ‘unknown Success’.
We have made one step for you & we expect that in one of our reader will surely make the next innovation.
"Goal & Achievement of Presentation"
ReplyDeleteThe Goal of this presentation is:-
Ø Getting the basic idea of JAVA Program.
Ø Clear understanding of Web Programming with J2EE Practice
Ø To make New Innovation by using EXE Model Framework
Ø To make better human needs & facilitates the human life.
Sharp Requirement For Mission
ReplyDeleteThis Section will help you to prepare the sharp requirement for the Mission. For Exe Programming with JAVA is quite easy stuff if you will be able to get the exact framework environment as per development scenario.
Before getting the requirement to execute the project, it will be good to read carefully Part II.
Part II
ReplyDeleteOur Goal & Your Target
vBasics of Do’s & Don’ts
vGoal of the Vision in Development
ReplyDeleteBasics of Do’s & Don’ts
DO’s :-
1) This book is intended to give the basic understanding the EXE programming apart from basic JAVA World Innovation. This book has designed on the concept of giving the same way to fresher’s & experienced programmer to programmer concern. This is just our trial to make the whole effort behind the JAVA or any relevant technology Innovation.
2) We expect that you might have some prior knowledge of JAVA so it will easy and quick to understand the framework of JAVA & EXE Innovation.
3) Follow the sequential notes made in Important Highlights.
4) Implement the best practice model if there is not in any area of implementation.
5) Download the exact version specification supplied in index 1.0.1.
6) Remember your portal User Information to save your important critical time on on-line tasks.
Don’ts
1) Don’t edit the source code to execute in successful way if you are using code as it is.
2) Make sure that your machine has appropriate technical specification to get the achievement. Don’t use any in-appropriate machine configuration to implement & test the code of book. Follow the instructions & steps according to sections & implementation.
3) Never disclose your PIN to technical support team if needed. Contact our Technical Team for any concern.
Goal of Vision in the Development
The Goal of this presentation is:-
Ø Getting the basic idea of JAVA Program.
Ø Clear understanding of Web Programming with J2EE Practice
Ø To make New Innovation by using EXE Model Framework
Ø To make better human needs & facilitates the human life.
Part III
ReplyDeleteCore JAVA Fundamentals
ReplyDelete"The Birth of JAVA & its evolution phase in Exe world..............."
Before JAVA Language ,there are already along the list.
ReplyDeleteWe have some tremendous and innovation in separate environment of EXE .
ReplyDeleteWe have more language like Microsoft Office packages Software , C , C++, PHP,ANDROID,.NET ,HTML/CSS, and some more in list for your hint.
ReplyDeleteIn Java world, We have byte-code logic.
ReplyDeleteJava has some flavors of Applet,Swing,JFC,POJO and much more.
ReplyDeleteOne of my folks says........he shares his knowledge for project concern and implementation innovation framework with Exe World.
ReplyDeleteHe shares.............I know also you will understand what he has teach us in a perfect manner. Applaus for his magic words in a short trip.
The Java Buzzwords
■ Simple
■ Secure
■ Portable
■ Object-oriented
■ Robust
■ Multithreaded
■ Architecture-neutral
■ Interpreted
■ High performance
■ Distributed
■ Dynamic
JAVA is object oriented Language.
ReplyDeleteBasically before JAVA , there was two type of architecture except than OOPS(Objects-Oriented Programming Structure)
ReplyDelete1) Process-Oriented
ReplyDelete2) Object-Oriented
Process Oriented means in Exe world, like a separate environment other than OOPS.
ReplyDeleteIn this first model, we can not manage more data in logical manner as "browser" display of JAVA in color manner.
DeletePOS can support view for flavors , but that is necessary for knowledge concern .
ReplyDeleteRemember Please ,
ReplyDelete"JAVA is JVM"
JVM, JRE, JDB, JAR,JIT and more advanced option in OOPS.
ReplyDeleteSimply , in base fact We know JDK as complete installation suit for JAVA.
ReplyDeletePlease go through along the link in 2 minutes. A good Resource for Installation.
ReplyDeletehttp://docs.oracle.com/javase/7/docs/webnotes/install/
Go through the link............
ReplyDeletehttp://www.oracle.com/technetwork/java/javase/downloads/index.html
I want to say this is your first step in
ReplyDeleteJAVA world
for Installation and Configuration.
JAVA 2 SE INSTALLATION & CONFIGURATION MANAGEMENT
DeleteWelcome 2 Java World!
ReplyDeleteJAVA 2 SE Installations & Configuration:
1) Go to D:\Software Repository@Aryansh\javasoft\Jdk & JRE\jdk-6u38-windows-i586.exe and double click on this exe.
2) Then Next window will appear:-
For screen layout in installation manner...........please see the link for document.
ReplyDeleteYou can search more result in manner.
ReplyDeleteQuestion : How you will install and configure JAVA in your system.
ReplyDeleteAns : We install JAVA by installing JDK and we configure JAVA in our system by configuring the "PATH and CLASSPATH VAriable." in System Properties under Environment Variable Configuration with system process management in Windows, and in different OS (Operating System as Solaris,UNIX, and in more)
The tutorial in PDF was concern for "Windows Environment" other than Operating System as Solaris,UNIX, and much more fashion of JAVA Technology.
First time, we are saying JAVA as 'Technology' other then also 'Language'.
What a JAVA has surprise at every steps.
process and object is different in Blog.
ReplyDeleteNext session is concern for JVM,JIT,JRE, JDB, JAR,JIT and more advanced option in OOPS.
ReplyDeleteWe are discussing about JVM,JIT,JRE, JDB, JAR,JIT at initial phase of JAVA Learning.
ReplyDeleteBut Remember
ReplyDelete"JAVA is a Byte-Code "
Byte Code :
ReplyDelete"You can say Byte Code is nothing but your compiled JAVA Class File in form of Bye Code Logic........it means it's happening the core of JAVA is
Byte-Code.
JVM,JIT,JRE, JDB, JAR and JIT These JAVA Entities should be discussed before
ReplyDeletemake a execution of sample programme.
JVM : JAVA Virtual Machine :
ReplyDeleteToipc : "Under the pine of JVM "
1) Describes the architecture of the Java Virtual Machine.
2) Describes the .class file format.
3) Describes the bytecodes.
JIT (JAVA Just-in-time Compiler)
ReplyDeleteFind below link 2 have a look into JIT Concept.
http://en.wikipedia.org/wiki/Just-in-time_compilation
JDK (JAVA 2 Development Tool-kit)
ReplyDeleteFollow link : http://docs.oracle.com/javase/1.5.0/docs/tooldocs/
Sun MicroSystems has done the design for JAVA LAB.
ReplyDeleteWe have looked 4 Standard JDK Tools and Utilitiesalreadsy with link earlier.
1) Basic Tools
(javac, java, javadoc, apt, appletviewer, jar, jdb, javah, javap, extcheck)
2) Security Tools
(keytool, jarsigner, policytool, kinit, klist, ktab)
3)Internationalization Tools
(native2ascii)
4) Remote Method Invocation (RMI) Tools
(rmic, rmiregistry, rmid, serialver)
5) Java IDL and RMI-IIOP Tools
(tnameserv, idlj, orbd, servertool)
6) Java Deployment Tools
(pack200, unpack200)
7) Java Plug-in Tools
(htmlconverter)
8) Java Web Start Tools
(javaws)
=============================================================
ReplyDeleteJVM :
Question : What is a Java Virtual Machine?
Ans : To understand the Java virtual machine you must first be aware that you may be talking about any of three different things when you say "Java virtual machine." You may be speaking of:
1) The abstract specification,
2) A concrete implementation, or
3) A runtime instance
.
The abstract specification is a concept, described in detail in the book: The Java Virtual Machine Specification, by Tim Lindholm and Frank Yellin. Concrete implementations, which exist on many platforms and come from many vendors, are either all software or a combination of hardware and software. A runtime instance hosts a single running Java application.
Each Java application runs inside a runtime instance of some concrete implementation of the abstract specification of the Java virtual machine. In this book, the term "Java virtual machine" is used in all three of these senses. Where the intended sense is not clear from the context, one of the terms "specification," "implementation," or "instance" is added to the term "Java virtual machine".
=============================================================
JRE :
ReplyDeleteThe Java Runtime Environment (JRE), also known as Java Runtime, is part of the Java Development Kit (JDK), a set of programming tools for developing Java applications. The Java Runtime Environment provides the minimum requirements for executing a Java application; it consists of the Java Virtual Machine (JVM), core classes, and supporting files.
JDK :
ReplyDeleteA Java Development Kit (JDK) is a program development environment for writing Java applets and applications. It consists of a runtime environment that "sits on top" of the operating system layer as well as the tools and programming that developers need to compile, debug, and run applets and applications written in the Java language.
JAVA Environment :
ReplyDelete1) JAVA Compiler Architecture
A Java compiler is a compiler for the Java programming language. The most common form of output from a Java compiler is Java class files containing platform-neutral Java bytecode. There exist also compilers emitting optimized native machine code for a particular hardware/operating system combination.
Most Java-to-bytecode compilers, Jikes being a well known exception, do virtually no optimization, leaving this until run time to be done by the JRE[citation needed].
The Java Virtual Machine (JVM) loads the class files and either interprets the bytecode or just-in-time compiles it to machine code and then possibly optimizes it using dynamic compilation.
A standard on how to interact with Java compilers programmatically was specified in JSR 199.
Byte-Code Basics & Execution of JAVA Programe
ReplyDelete=============================================================
Welcome to another installment of "Under The Hood." This column gives Java developers a glimpse of what is going on beneath their running Java programs. This month's article takes an initial look at the bytecode instruction set of the Java virtual machine (JVM). The article covers primitive types operated upon by bytecodes, bytecodes that convert between types, and bytecodes that operate on the stack. Subsequent articles will discuss other members of the bytecode family.
The bytecode format
Bytecodes are the machine language of the Java virtual machine. When a JVM loads a class file, it gets one stream of bytecodes for each method in the class. The bytecodes streams are stored in the method area of the JVM. The bytecodes for a method are executed when that method is invoked during the course of running the program. They can be executed by intepretation, just-in-time compiling, or any other technique that was chosen by the designer of a particular JVM.
A method's bytecode stream is a sequence of instructions for the Java virtual machine. Each instruction consists of a one-byte opcode followed by zero or more operands. The opcode indicates the action to take. If more information is required before the JVM can take the action, that information is encoded into one or more operands that immediately follow the opcode.
Each type of opcode has a mnemonic. In the typical assembly language style, streams of Java bytecodes can be represented by their mnemonics followed by any operand values. For example, the following stream of bytecodes can be disassembled into mnemonics:
// Bytecode stream: 03 3b 84 00 01 1a 05 68 3b a7 ff f9
// Disassembly:
iconst_0 // 03
istore_0 // 3b
iinc 0, 1 // 84 00 01
iload_0 // 1a
iconst_2 // 05
imul // 68
istore_0 // 3b
goto -7 // a7 ff f9
The bytecode instruction set was designed to be compact. All instructions, except two that deal with table jumping, are aligned on byte boundaries. The total number of opcodes is small enough so that opcodes occupy only one byte. This helps minimize the size of class files that may be traveling across networks before being loaded by a JVM. It also helps keep the size of the JVM implementation small.
All computation in the JVM centers on the stack. Because the JVM has no registers for storing abitrary values, everything must be pushed onto the stack before it can be used in a calculation. Bytecode instructions therefore operate primarily on the stack. For example, in the above bytecode sequence a local variable is multiplied by two by first pushing the local variable onto the stack with the iload_0 instruction, then pushing two onto the stack with iconst_2. After both integers have been pushed onto the stack, the imul instruction effectively pops the two integers off the stack, multiplies them, and pushes the result back onto the stack. The result is popped off the top of the stack and stored back to the local variable by the istore_0 instruction. The JVM was designed as a stack-based machine rather than a register-based machine to facilitate efficient implementation on register-poor architectures such as the Intel 486.
=============================================================
JVM Architecture & Features : Memory Management Whitepaper Article Innovative Theory
ReplyDeletehttp://java.dzone.com/articles/java-performance-tuning/
http://www.oracle.com/technetwork/java/javase/jdk7-relnotes-418459.html
OOPS (Object-Oriented Programming Structure)
ReplyDelete=============================================================
OOPS Concept
Q1) What is polymorphism?
Ans) Polymorphism gives us the ultimate flexibility in extensibility. The abiltiy to define more than one function with the same name is called Polymorphism. In java,c++ there are two type of polymorphism: compile time polymorphism (overloading) and runtime polymorphism (overriding).
When you override methods, JVM determines the proper methods to call at the program’s run time, not at the compile time. Overriding occurs when a class method has the same name and signature as a method in parent class.
Overloading occurs when several methods have same names with
Overloading is determined at the compile time.
Different method signature and different number or type of parameters.
Same method signature but different number of parameters.
Same method signature and same number of parameters but of different type
=============================================================
Q2) What is inheritance?
ReplyDeleteAns) Inheritance is the property which allows a Child class to inherit some properties from its parent class. In Java this is achieved by using extends keyword. Only properties with access modifier public and protected can be accessed in child class.
Q3) What is multiple inheritance and does java support?
ReplyDeleteAns) If a child class inherits the property from multiple classes is known as multiple inheritance.
Java does not allow to extend multiple classes but to overcome this problem it allows to implement multiple Interfaces.
Q4) What is abstraction?
Ans) Abstraction is way of converting real world objects in terms of class. For example creating a class Vehicle and injecting properties into it.
Q5) What is encapsulation?
ReplyDeleteAns) The encapsulation is achieved by combining the methods and attribute into a class. The class acts like a container encapsulating the properties. The users are exposed mainly public methods.The idea behind is to hide how thinigs work and just exposing the requests a user can do.
Q6) What is Association?
Ans) Association is a relationship between two classes. In this relationship the object of one instance perform an action on behalf of the other class. The typical behaviour can be invoking the method of other class and using the member of the other class.
Q7) What is Aggregation?
ReplyDeleteAns) Aggregation has a relationship between two classes. In this relationship the object of one class is a member of the other class. Aggregation always insists for a direction.
Q8) What is Composition?
Ans) Composition is a special type of aggregation relationship with a difference that its the compulsion for the OtherClass object (in previous example) to exist for the existence of MyMainClass.
As of now,we have taken the overview of OOPS,We will have a closer look with code implementation in EXE world 2 understand better how OOPS implies with JAVA.
ReplyDeleteThe Java language supports three kinds of comments:
ReplyDelete1)Single -Line Comment
// yoiur comment
The compiler ignores everything from // to the end of the line.
2) Multiple Line Comment :
/* your comment */
The compiler ignores everything from /* to */.
3)Documentation Comment for Generated HTML Docs
/** documentation comment as per guideline*/
This indicates a documentation comment (doc comment, for short). The compiler ignores this kind of comment, just like it ignores comments that use /* and */. The JDK javadoc tool uses doc comments when preparing automatically generated documentation. For more information on javadoc, see the Java tool documentation.
Dear Reader, Have a cup of Fruit shake with Energy mind.
ReplyDeleteNext we are going 2 discuss about JAVA Data Types, which is next topic 2 cover in 1 hour session.
DATA & Code Logic in JAVA
ReplyDeletewe say data as variable you will use to store your project data and code is something you can say that as a flavor of JAVA Syntax.
In JDK, along with JRE, you will find the following installed Core Java Programming API.
ReplyDeleteList is as mentioned in product manner as per Listing
http://docs.oracle.com/javase/7/docs/api/
=====================================================
ReplyDeleteJAVA is choice of 'Distributed Programming
JAVA comes with flavor of RMI, CORBA,LDAP some Logic is there.
We can use JAVA for Distributed Programming as per multiple JVM.
=====================================================
As first chapter conclusion, we know
ReplyDeleteJVM is heart of JAVA.
JVM Manage your data and code as per memory management requirement.
ReplyDeleteReturn 2 forward Discussion , Java supports multiple of data types including integer type.
ReplyDelete1) The Simple Types
ReplyDelete2) 'Class Types
===========================================================
1) The Simple Types
Java defines eight simple (or elemental) types of data: byte, short, int, long, char, float,
double, and boolean. These can be put in four groups:
■ Integers This group includes byte, short, int, and long, which are for wholevalued
signed numbers.
■ Floating-point numbers This group includes float and double, which represent
numbers with fractional precision.
■ Characters This group includes char, which represents symbols in a character
set, like letters and numbers.
■ Boolean This group includes boolean, which is a special type for representing
true/false values.
2) 'Class Types
ReplyDeleteThis one covers Class, Array , Primitive Wrapper Class and User Defined Class.
JAVA Literals:
ReplyDeleteincluding all primitive simple type object.
1)Integer Literals
2)Floating-Point Literals
3)Boolean Literals
4)Character Literals
5)String Literals
ReplyDeleteEncape Sequence List
========================================================
Escape Sequence Description
\ddd Octal character (ddd)
\uxxxx Hexadecimal UNICODE character (xxxx)
\’ Single quote
\” Double quote
\\ Backslash
\r Carriage return
\n New line (also known as line feed)
\f Form feed
\t Tab
\b Backspace
========================================================
White-space in JAVA
"JAVA automatic manage garbage Collection but no means 2 left in code fashion."
"Java is space free programme."
============================================================
Question : Separators in JAVA
Ans : Symbol Name Purpose(in following order)
1) ( ) Parentheses Used to contain lists of parameters in method
definition and invocation. Also used for defining
precedence in expressions, containing expressions
in control statements, and surrounding cast types.
2) { } Braces Used to contain the values of automatically
initialized arrays. Also used to define a block
of code, for classes, methods, and local scopes.
3) [ ] Brackets Used to declare array types. Also used when
dereferencing array values.
4) ; Semicolon Terminates statements.
5) , Comma Separates consecutive identifiers in a variable
declaration. Also used to chain statements together
inside a for statement.
6) . Period Used to separate package names from subpackages
and classes. Also used to separate a variable or
method from a reference variable.
=======================================================
JVM Compiler Defined JAVA Keyword
Those keyword which JVM understands..............
-------------------------------------------------------------------------------
abstract , continue ,goto ,package, synchronized,assert ,
default ,if ,private ,this,boolean ,do ,implements ,protected , throw,break ,
double ,import, public ,throws,byte ,else ,instanceof ,return ,transient,case ,
extends ,int ,short ,try,catch ,final, interface ,static ,void,char ,finally ,long ,strictfp,
volatile.class ,float ,native, super ,while,const, for, new ,switch.
-------------------------------------------------------------------------------
==========================================================
Identifier or Variable Data in JVM :
======================================================
Which name(Java Keyword) you can use as per your wish & coding standards
but keys are apart from Keys or Pre-Defined Identifier in JVM.
======================================================
Access Modifier & it's Protection Rules:
======================================================
Private Variables ,Protected Variables ,Public Variables and Default Variables are
Access Modifier.
Next topic 2 discuss........
ReplyDelete"Data Vs Variable in JVM Heap "
========================================================
In JAVA, we know we have Heap Memory.Variable lifetime is depend on access modifier level use.
For Data, we need to implement some list class which can hold the data after a transaction in JVM.
========================================================
Block of Code :
ReplyDeleteBlock of code is combination of more than single statement 2 execute a logical work.
Initialization in block of code
ReplyDeleteWe can initialize variable in block of code for a certain logical work.
Casting & Manipulation of Variable Value
ReplyDeleteCasting is a process in JAVA by which you can covert your Data Type fromone form 2 another.
Casting is need to be done when :
ReplyDelete■ The two types are compatible.
■ The destination type is larger than the source type.
Truncation in JAVA :-
ReplyDeleteDifferent type of conversion will occur when a floating-point value is assigned to
an integer type: truncation. As you know, integers do not have fractional components. Thus, when a floating-point value is assigned to an integer type, the fractional component is lost.
Type Promotion Rules :-\
ReplyDelete1)In addition to the elevation of bytes and shorts to int, Java defines several type promotion rules that apply to expressions. They are as follows. First, all byte and short values are promoted to int, as just described. Then, if one operand is a long, the whole expression is promoted to long. If one operand is a float, the entire expression is promoted to float.
If any of the operands is double, the result is double.
We also use OPERATORS in JAVA .
ReplyDelete