jump to navigation

Today Eclips Tips December 11, 2006

Posted by essamabdelaziz in DataBase.
add a comment

Ctrl+Shift+T (Open Type) Just type the first few letters of the Java class you’re looking for, and voila, you can use the arrow keys to find exactly the right one. No more clicking on folders in Package Explorer.

Ctrl+Shift+R (Open Resource) Same drill, but works for any resource in the Package Explorer.


Ctrl+Shift+F (Format Code). Select lines of code to format, then use this key to apply formatting rules defined in Preferences.

Ctrl+/ (Comment Line). Also works with multiple lines.

Ctrl+E brings up a list of all open files. Type the first few letters and hit Enter.

Ctrl+F7 switches between panes (views). Very useful for moving between Package Explorer and Editor.

Ctrl+F8 switches between perspectives like Java, Debug, etc.

Ctrl+Q takes you to the last edit location.

final for variable,method and class December 9, 2006

Posted by essamabdelaziz in DataBase.
add a comment

final variable:this mean the value of this varaible is constant and can’t be assigned to another value(it’s value can’t eb changed )

final method:this mean this mesthod can’t be overriden

final class:this mean this class can’t be extended

Google Interview Questions (They Are Hiring) December 5, 2006

Posted by essamabdelaziz in General.
add a comment

today while surfing internet i found this ….

Google’s profit increased seven-fold. Do you want to work there? Well here are 2 questions that they asked a friend of mine. What would you answer?

1. You have been shrunk down to the size of a nickel and tossed into a blender. You are told that the blender blades will start in 60 seconds.What would you do to save your life?

2. Design and describe a system/application that will most efficiently produce a report of the top 1 million Google search requests.These are the particulars.

* You are given 12 servers to work with. They are all dual-processor machines with 4Gb of RAM, 4×400GB hard drives and networked together.(Basically, nothing more than high-end PC’s)

* The log data has already been cleaned for you. It consists of 100 Billion log lines, broken down into 12 320 GB files of 40-byte search terms per line.

* You can use only custom written applications or available free open-source software.

Difference between a Web server and an application server December 2, 2006

Posted by essamabdelaziz in JAVA.
add a comment

hi every body,

acutully it was along time to write anew post actuallyi’m was so busy, Unfortunately i’m still

any way ..

i was asked what’s the diference between webserver and application server

when i was asked i remberd ahmed hashim coz i asked this question before

he answered..

application server like jboss it’s an jsp ,servlet and ejb conatiner

is to improve performancein case you have heavy traffic , more users, more transactions, more data, and more security

webserver like tomcate is jsp and servlet container

take care when you decide to use web server or application server

application server will give you more performance..

but the question

how much does it cost..?

 

thank you