Wednesday, 12 December 2012

Why do threads block on I/O?
Threads block on i/o (that is enters the waiting state) so that other threads may execute while the i/o
Operation is performed.
2.which containers use a border Layout as their default layout?
The window, Frame and Dialog classes use a border layout as their default layout.
1.what is a transient variable?A transient variable is a variable that may not be serialized.

Techie Interview

Techie Interview
8. Name some field data types and field types in lotus notes form?
Answer:
A) Data types: Text, Number, Date/Time, Richtext, listbox, combobod, dialoglist, authors, readers, names, and Password
B) File type: editable, computed, computed for display and Computed when compose
7. What is the difference between Agents and Script Libraries?
Answer:
Formula Language and Simple Actions cannot be used in Script Libraries (only Java and LotusScript may be used).
Agents cannot take arguments.
Script Libraries cannot be called from a Formula.
Script Libraries are never initialized, Agents always are.
Agents can be personal or shared


6. What is a form formula? What is the level of precedence to display a document using form?
Answer
A form formula determines which forms are used for composing and displaying documents under different conditions. A form formula is optional. Domino Designer selects a form in the following preference order:
* Form stored in the document.
* Form specified in the form formula.
* Form with which the document was created.
* Default form for the database.

5. Name/describe a few compile time errors you encounter in Lotus script
Answer:
*   Cannot find external name <name>: The currently executing module contains a Use statement whose target module contains a Public name to which the currently executing module refers. That name has been changed in the target module since the currently executing module was compiled. Restore the original name in the target module, or change the name in the currently executing module to the new name.
*   Any syntax errors like mismatching If...Endif ststements;
*   SET required on class instance assignment
*   Operator overflows
*   Object variable not set
*   Variant does not contain a container
*   Entry not found in index or views not found in index

4. What is Groupware?
Answer:
Groupware is a program that helps people work together collectively while located remotely from each other. Programs that enable real time collaboration are called synchronous groupware. Groupware services can include the sharing of calendars, collective writing, e-mail handling, shared database access, electronic meetings with each person able to see and display information to others, and other activities. Sometimes called collaborative software, groupware is an integral component of a field of study known as Computer-Supported Cooperative Work or CSCW.
Groupware is often broken down into categories describing whether or not work group members collaborate in real time (synchronous groupware and asynchronous groupware). Some product examples of groupware include Lotus Notes and Microsoft Exchange, both of which facilitate calendar sharing, e-mail handling, and the replication of files across a distributed system so that all users can view the same information. Electronic "face-to-face" meetings are facilitated by CU-See Me and Microsoft NetMeeting.

3. Explain about lotus script?
Answer:
LotusScript is an embedded, BASIC scripting language with a powerful set of language extensions that enable object-oriented application development within and across Lotus software applications.

Features: - The ability to place scripts in a variety of objects and events in many Lotus software applications

* Debugger and syntax-directed editor.
* Superset of BASIC
* Cross-platform. LotusScript is a multi-platform BASIC-like scripting language. It works with platforms such as Windows, Macintosh, OS/2, UNIX, z/OS, and OS/400. Scripts developed on Windows execute unchanged on any other supported platform.
* Object-oriented:-Lotus software provides Object Classes that are available to LotusScript. You can write scripts to access and manipulate these objects. The scripts are event-driven, such as by an action, clicking the object or button, opening a document, or opening a view. LotusScript gives you the ability to create your own classes and objects, and easily subclass these classes.
* OLE support LotusScript libraries
* Extendable through Lotus Software Extensions (LSXs) LotusScript allows users to create their own classes and objects, called Lotus software extensions (LSXs). LotusScript classes support single inheritance, constructors/destructors and method overriding. This functionality allows users to take advantage of object-oriented programming,


2. What is LotusScript? 
Answer:
LotusScript is an embedded, BASIC scripting language with a powerful set of language extensions that enable object-oriented application development within and across Lotus software applications
 Advantages of LotusScript:
* Superset of BASIC
* Cross-platform
* Object-oriented
* Included in Lotus software applications
* OLE support
* Interoperability with other languages
* Integrated Development Environment
* LotusScript libraries
* Extendable through Lotus Software Extensions (LSXs)

Friday, 7 December 2012

1. Explain some advantages of Lotus Notes?

1. Explain some advantages of Lotus Notes?
Answer:
*   Multi-platform. Domino is offered for many operating systems, from Windows to mainframes.
*   Safety. Domino is really safe. It is not Windows....
*   Access thru Notes Client (more security) or web browser (more flexibility).
*   Easy to use user interface to build application.
*  Interoperability. In Domino you can use connectors to other databases (DB2, ORACLE, and MSSQL) or systems (SAP, JD Edwards).
*   Included WEB server.
*  In application can be used Lotus Script (subset of VB), JavaScript or Java, both written in application or imported classes.