Monday, February 27, 2012

Distributed Architecture







Ø If business objects of a service layer are geographycally dispresed in the network and still communicating with one another such enterprise application is said to be distributed appliaction and is said to have distributed tier architecture

N-tier Architecture





Ø An extension of 3-tier architecture is nothing but n-tier architecture
Ø Service layer is one machine ;data layer in one machine; presentation layer is in morethan one machine.i.e. windows based enterprise application can be 3-tier architecture cannot be ‘n’ tier as presentation layer runs in only one machine as one process.
Ø Web-enabling a 3-tier architectural enterprise application is nothing but making it n-tiered.

3-tier architecture




Ø Physical seperation of service layer(data access layer as well) from the presentation layer is nothing but 3-tier architecturre.
Ø One machine for one machine for service layer( and DAL also) and another machine for presentation layer is the actual physical seperation in this architecture.
Ø 3-tier architecture eliminates client side maintainance.it also makes the clients thin
Ø 3 tier architecture does not make the client 100% thin.

2-tier (Client-server)architecute


     Ø 2-tier architecture is also known as client-server architecture.
Ø In two tier architecture always server is the database server(data layer).
Ø In such physical and data access layer run in one machine which is nothing but client machine.

Monday, August 29, 2011

What is Log4J and Where it is Used..?


Log4J is a Open Source framework/debugging
Log4J is from ASF(Apache Software Foundation)
Log4J is Written in Java

No Project can Exist without Log4J (in Java)
Every Project in Java Most be Used Log4J

What is Logging :

 Logging is the act of recording the events occurred in the execution of application

Sunday, August 28, 2011

Quick Shortcuts for My Eclipse


  • control-F4 - close current editor window
  • control-shift-F4 - close all editor windows
  • control-F6 - switch between editor windows
  • control-F7 - switch between views
  • control-F8 - switch between perspectives
  • control-space - code completion
  • control-1 - quick fix
  • F3 - (or control-click) - jumps to the class/method at your cursor
  • F4 - shows class hierarchy
  • F11 - launch the last debug configuration (in debug mode)
  • Alt-r, followed by t - stop the debug configuration
  • F12 - give focus to the editor window
  • Highlight text and control-/ - comment/uncomment code
  • control-j - incremental find
  • control-m - expand/contract current editor window
  • control-shift-f - format code
  • control-shift-g - searches for references to selected class/method/etc
  • control-shift-o - organize imports (automatically fix your class imports)
  • control-shift-r - open resource - great search utility
  • control-shift-t - open type (Java class/interface finder)
  • Standard Windows shortcuts also apply (home, end, control-home, control-end, control-leftArrow, control-rightArrow, all these in combination with shift, etc)

Eclipse Tutorials

http://www.avajava.com


Eclipse Tutorials with Real time Example for best Practicing