hi
Actually import and Lookup r altogether different .
import, we use in our
java program to make the class files avilable to the appln for eg if we r using Date class of the util package then we need to write the full name including package i.e java.util.Date wherever we r using Date object it,or just import the file once and use Date later in the program.
while lookup is the method of the initial context which provides a way to find the object bind to the name which is passed as a parameter. And the object which is returned is basically the stub of the remote object.Generally used in client server technology to make the object location transparent.
regards
Subhash