Showing posts with label Others. Show all posts
Showing posts with label Others. Show all posts

Wednesday, February 25, 2009

URL'S

http://www.leepoint.net/notes-java/index.html
http://java2s.com/
http://www.studiesinn.com/topic-details/9/37.html
http://ajaxtraining.blogspot.com/

Thursday, February 19, 2009

why EJB is only in appserver

EJB specs are part of Java Enterprise specifications. An App server implements JEE specifications, hence an EJB container is part of an app server. An EJB utilizes several other JEE components hence it usually does not exist as stand alone container.

There were some efforts to implement EJB as standalone container (just like JSP/Servlet container), but it wasn't successful.

Eclipse Shortcuts - Some really useful ones

I am trying to categorize them below:
Shortcuts for moving through members of a class:
Ctrl + Shift + Up Arrow Key — > It allows you to move one member up, that is if you have a large methods, and would like to move between methods this shortcut is very useful, rather then scrolling you can use this shortcut to move up the hierarchy in your class file, it jumps one member (including variables and methods) up.
Ctrl + Shift+ Down Arrow Key — > It allows you to move one member down, that is if you have a large methods, and would like to move between methods this shortcut is very useful, rather then scrolling you can use this shortcut to move down the hierarchy in your class file, it jumps one member (including variables and methods) down.
Ctrl+ F3 — > This one will pop up a window where you can see all the members of the class , and you can even type in the name of the member variable you are looking for, in a large class file having dozens of method and member variables, this shortcut should be your favorites weapon.
Shortcuts for closing files in Eclipse:
Ctrl + W — > It closes the current file on which you are working.
Ctrl + Shift + W — > Use this with caution , as it closes all the files in the editor at a single go.
Ctrl + F4 — > It closes the current file on which you are working, same as that of Ctrl + W.
Ctrl + Shift + F4 — > Use this with caution , as it closes all the files in the editor at a single go, same as that of Ctrl+ Shift + W. Depends on you choice which one to use.
Shortcuts for saving files in Eclipse:
Ctrl + S– > It is use for saving the current file on which you are working.
Ctrl + Shift + S — > It is used to save all the files in the editor which are open. (A good one if you have edited multiple files)
Shortcuts for Finding and moving around quickly:
Ctrl + L– > It takes you to the line number you specify, again one of the best shortcuts.
Ctrl + K — > Find Next, this is very useful, if you have something in search already using this will make you move around to the next search criteria.
Ctrl + Shift + K– > Find Previous, this will allow you to search backwards.
Shortcuts for Editing (Deleting) :
Ctrl + D– > Used for deleting a line.
Ctrl + Delete — > Used for deleting next word.
Ctrl + Backspace — > Used for deleting previous word.
Ctrl + Shift + Delete — > Delete to end of line.