- World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.

Get it now !!
Send your Resume to 6000 Companies
Eclipse Interview Questions & Answers - Learning Mode

Eclipse Interview Questions & Answers - Learning Mode

Eclipse is an integrated development environment (IDE) used in computer programming, and is the most widely used Java IDE. It contains a base workspace and an extensible plug-in system for customizing the environment. Eclipse is a Java-based open source platform that allows a software developer to create a customized development environment (IDE) from plug-in components built by Eclipse members. Eclipse is managed and directed by the Consortium.

Try Eclipse Interview Questions & Answers - Exam Mode

1 2 Next

Sort By : Latest First | Oldest First | By Rating

Eclipse Interview Questions & Answers - Learning Mode
Try Eclipse Interview Questions & Answers - Exam Mode
Question: How to create, deploy a servlet and jsp file in eclipse?

Answer: That's a good question. Eclipse is an IDE which stands for Integrated Development Environment. As such it stands as a plain IDE and not integrated with any Application Server into which you can deploy and run any server side components such as Servlet, Jsp file etc.,

Using eclipse you can definitely have those files built (as any other java file or xml/html/jsp files). You can very well build an application using Ant script or the built in command (Build Project - you can get it in th Source:
Question: How to resize my shell to get my changed widgets to lay out again?

Answer: A layout is only performed automatically on a Composite's children when the Composite is resized, including when it is initially shown. To make a Composite lay out its children under any other circumstances, such as when children are created or disposed, its layout() method must be called. Source:
Question: [OSGI]What is optional dependency

Answer: plug-in prerequisite elements can be made optional by adding the optional="true" attribute in Manifest file(see below for an example). Marking an import as optional simply states that if the specified plug-in is not found at runtime, the dependent plug-in should be left enabled.

This is used when a plug-in can be used in many scenarios or it is reasonable to operate with reduced function. It allows the creation of minimal installs that cover functional subsets.
Require-Bundle: org.ecli Source:
Question: What is EMF?

Answer: The Eclipse Modeling Framework is a Java/XML framework for generating tools and other applications based on simple class models. EMF helps you rapidly turn models into efficient, correct, and easily customizable Java code. It is intended to provide the benefits of formal modeling, but with a very low cost of entry. In addition to code generation, it provides the ability to save objects as XML documents for interchange with other tools and applications.

Models can be created using annotate Source:
Question: Why is AWS building an Eclipse plug-in?

Answer: Many software developers use an Integrated Development Environment (IDE), such as the Eclipse Java IDE, to build software based on Amazon Web Services. By providing an Eclipse plug-in, we aim to help make it easier for software developers to do so. The AWS Toolkit for Eclipse, based on the Eclipse Web Tools Platform, guides Java developers through common workflows and automates tool configuration, such as setting up remote debugger connections and managing Tomcat containers. Previously, develope Source:
Question: Will the AWS Toolkit add support for other services?

Answer: The goal of the AWS Toolkit for Eclipse is to make it easier for all AWS Java developers to build software. We?re eager to hear our customer?s feedback and add support for additional features and/or services they need most.

Developer Resources

* Documentation
* Sample Code & Libraries
* Articles & Tutorials
* Amazon Machine Images (AMIs)
* Public Data Sets
* AWS Security Center
* User Groups

Developer Tools

* AWS Mana Source:
Question: How to fire a key event in my test code to make the program act as if a user pressed a key?

Answer: How to fire a key event in my test code to make the program act as if a user pressed a key? Source:
Question: How to access UI objects from a non-ui thread?

Answer: Use Display.getDefault().asyncExec(new Runnable()...) Display.asyncExec causes the run() method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity. The caller of this method continues to run in parallel, and is not notified when the runnable has completed. Source:
Question: How can I change the window icon in my application?

Answer: Define a product via the products extension point and specify the windowImages property to refer to two image files, a 16x16 one and a 32x32 one. Source:
Question: Is there a built-in facility to check whether a given value is valid compared to the effective facets of its type?

Answer: To determine if a literal is valid with respect to a simple type, you can use either XSDSimpleTypeDefinition.isValidLiteral or XSDSimpleTypeDefinition.assess. Source:
Question: Do we need to explicitly invoke

Answer: Application code must explicitly invoke the Image.dispose() method to release the operating system resources managed by each instance when those instances are no longer required. This is because that the Java finalization is too weak to reliably support management of operating system resources. Source:
Question: What are Eclipse projects and technologies?

Answer: The three outputs of this project are the Eclipse Platform, Java development tools (JDT) and Plug-in Development Environment (PDE) tools. These three components comprise the Eclipse SDK, a full-featured Java IDE with all the necessary features for building Eclipse plug-ins. The Eclipse SDK is what much of the wider software development community equates with the term Eclipse. This book focuses entirely on the components produced by the Eclipse Project.

Eclipse technologies:

Projec Source:
Question: Can I modify the eclipse toolkit?

Answer: Yes. The toolkit is available under the Apache 2.0 license, which allows customers to modify the source code. Customers can access the source code from our project on Source:
Question: What is Display, what is Shell?

Answer: The Display class respresents the GUI process(thread), the Shell class represents windows. Source:
Question: What are the differences between 'Require-Bundle' and 'Import-Package'?

Answer: There are two complementary ways of depending on something from outside a given plug-in; Require-Bundle and Import-Package.<br><br>Using the Require-Bundle manifest header, plug-ins specify an explicit dependency on a specific bundle and version. As such, the required bundles are placed logically on the dependent plug-in's classpath.<br><br>Import-Package is used to declare a dependency on a package without knowing which exact bundle will provide it. Any bundle in the Source:
Question: What is the classpath of a plug-in?

Answer: The OSGi parent class loader. (Java boot class loader by default); The exported libraries of all imported plug-ins; The declared libraries of the plug-in and all its fragments. Source:
Question: What is included in the Rich Client Platform?

Answer: Eclipse Runtime, SWt, JFace, Workbench Source:
Question: Do we need to explicitly invoke

Answer: Application code must explicitly invoke the Image.dispose() method to release the operating system resources managed by each instance when those instances are no longer required. This is because that the Java finalization is too weak to reliably support management of operating system resources. Source:
Question: What are extensions and extension points?

Answer: Loose coupling in Eclipse is achieved partially through the mechanism of extensions and extension points. When a plug-in wants to allow other plug-ins to extend or customize portions of its functionality, it will declare an extension point.
The extension point declares a typically a combination of XML markup and Java interfaces, that extensions must conform to. Plug-ins that want to connect to that extension point must implement that contract in their extension.

The key attribute is th Source:
Question: What is the Eclipse Platform?

Answer: The eclipse platform was conceived as the generic foundation for an IDE(integrated development environment). That is, the platform is an IDE without any particular programming language in mind. Source:

1 2 Next

India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.046875 Seconds