1. About the Project you have done.
2. Lifecycle of servlet.
Ans : Init(), Service(), Destroy()
3. Difference between PreparedStatement and Statement in jdbcodbc.
4. Difference between print and temp query.
Ans : Print bus Temp query bus
1. It is used to print a It is used to print multiple objects
Single object and its and its details.
Details.
2. Where expression cannot Where expression can be used.
be used.
3. * cannot be used * can be used.
5. Expand bus query parameter.
Ans : expandSelect(context, RelType, TYPE, ObjectSelect, RelSelect,
getTO, getFROM, recurseTOlevel, ObjWhereExp, RelWhereExp,
list);
6. Expand level will be refreshed or not when page is refreshed.
Ans : Yes, expand level is refreshed when we refresh the page.
7. What are dynamic attribute in webform.
Ans : When we create a Web Form for a particular object, the
attributes of that object are added dynamically in the web form
using the setting
Field Type = Dynamic_Attribute in settings.
8. Default tree for an object.
Ans : Default Tree Menu is there.
9. Mandatory parameter for [Link].
Ans : ObjectIds, Tree Menu.
[Link] we create .js page?
Ans : Java Script pages are created for Validation in client side.
[Link] to pass parameter from one jsp to another.
Ans : 4 ways are there -
1. Append the field name and field value in URL and send.
2. Set the attribute in session and pass.
3. As a request pass the parameter.
4. Use JSP forward Action tag.
[Link] Objects of jsp.
Ans : Objects which are created and declared in JSP code and Objects
which could be accessible by other pages are Explicit Objects.
Instances of JavaBean is an explicit object.
[Link] is create component? Mandatory parameter for
[Link]?
Ans : Mandatory parameter is TYPE.
[Link] is foreign vault? When we create a foreign vault?
Ans : We create foreign vault when we want data’s from virtual
source to be modeled as eMatrix objects.
Foreign vault is used to share data’s between
Matrix database and legacy database.
[Link] of ${CLaSSNAME}
Ans : The macro is pre-defined. When we use macro in JPO we can
give our own JPO name instead of class name.
1. Replication -Any change in source files are changed in the class
files faster. Class files lie in the server, the byte codes & the source
files lie in the db. RMI is at the top of db so the new class files are
generated fast.
2. MACROS allow dynamic loading of classes after the source file
has been changed without restarting the system.
3) eMatrix schema object names are allowed to contain spaces and
non-alpha characters that would cause the java compiler to complain.
Macros give the flexibility to include these non alpha characters.
[Link] to write function in tcl?
Ans : tcl;
Eval {
}
[Link] of JPO over TCL?
Ans : JPO runs multi thread operation.
JPO is Object Oriented programming.
Whereas TCL is sequential.
[Link] jpo be used for presentation purpose?
Ans : No, JPO can be used only to write Business logic.
[Link] Code review, what points you will check?
Ans : [Link] packages are imported are not.
[Link] unwanted codes.
[Link] for While loop and For loop.
[Link] is structure edit?
[Link] we use Table and webform?
Ans : Table is used to display multiple objects whereas Web Form is
used to display Single object and its properties.
[Link] types of trigger and explain.
Ans : Trigger is an Event that performs an action.
3 types of triggers are there. They are
1. Check, 2. Override, 3. Action.
Check: It performs an action before an event occurs.
Override: It performs an action by replacing an event.
Action: It performs an action after an event has occurred.
[Link] to read a file in Tcl program?
Ans :
[Link] the process of promote trigger addition?
Ans :
[Link] types of stores? What is DesignSync store?
Ans : Different types of stores are
1. Captured Store. 2. Ingested Store. 3. Tracked Store.
[Link] engineering change process?
Ans : ECR and ECO
[Link] between EBOM and MBOM?
Ans : MBOM is specific to Location/Plant whereas EBOM is not.
[Link] to delete a checked in file using mql?
Ans : delete bus T N R format generic file filename;
[Link] method to expand a business object?
Ans : expandSelect(context, RelType, TYPE, ObjSelect, RelSelect,
getTO, getFrom, recurseToLevel, ObjWhereExp, RelWhereExp,
List);
[Link] between routes and signature?
Ans : Signature is to approve or reject promotion of a state.
Routes has specific task that has to be completed for the
promotion of a state.
[Link] do we use RMI?
Ans : RMI is used to communicate between the Database and Web
Application.
[Link] of RIP and RMID mode of RMI?
Ans : RIP RMID
1. In RIP mode two RMI In Non-RIP mode more than
Servers cannot point to two RMI servers can point to
the same database. the same database.
2. In RIP mode RMI server In Non-RIP mode RMI server
and Application server and Application Server runs in
runs in the same JVM. different JVM.
3. Quick process. Delayed process.
[Link] a page is taking lot of time to load, how you will minimize the
time taken?
Ans : Remove unwanted codes.
Check the for loop and while loop conditions.
Import necessary packages instead of using *.
[Link] between override and action trigger?
Ans : Override trigger performs an action by replacing an event.
Action trigger performs an action after an event.
[Link] are two objects and they are associated with different file but
same file name. How will matrix differentiate between the files?
Ans : Using Hash Names.
[Link] to configure a table in thin client? What are the parameters
passed?
Ans : A table is configured in thin client using [Link].
The parameters passed are table name and inquiry.
[Link] jsp is used for structured browser?
Ans : [Link]
[Link] between Table and indented table?
Ans : In table multiple objects are displayed and its attributes cannot
be modified. But using Indented table the attributes displayed in the
table can be modified.
39. Where do we set the SMTP, FTP path settings?
Ans : [Link] file
40. What does [Link] symbolizes?
Ans : [Link] contains paths related to RMI server.
41. How to connect to database?
Ans : Matrix can be connected to database using Bootstrap file
(Matrix-R).
[Link] an mql query to list all the parts which are in release state?
Ans : temp query bus T N R where current==Release.
[Link] a mql query to list all the relationships connected to the
part?
Ans : expand bus T N R select relationship name;
44. How to call a jpo from jsp?
Ans : [Link](context, JPO name, constructor args, Method name,
method args);
45. Can we invoke another jpo from another jpo as if cascading?
Ans : Yes, using [Link] ({CLASS: JPO name});
46. How to add admin types used for application other than adding up
manually through Business modeler provided in Deliverables?
47. How to hide and show a particular command at a particular state
of any lifecycle of a object?
Ans : Using Access Expression (or) Access Program and Access
Function.
48. What are Routes?
Ans : Routes has specific task that needs to be completed for
promotion of a state.
49. What are Macros?
Ans : The macro is pre-defined. When we use macro in JPO we can
give our own JPO name instead of class name.
50. How to retrieve related objects in ADK?
Ans : expandSelect(context, RelType, TYPE, ObjSel, RelSel, getTO,
getFrom, recurseToLevel, ObjExp, RelExp, List);
51. What is the difference between ADK and AEF?
Ans : ADK had API for Web.
AEF has its own API for eMatrix.
52. What are the parameters passed into a [Link]()?
Ans : (context, JPO name, constructor args, Method name, method
args)
53. What does BO and DO stands for?
Ans : BO stands for Business Object.
DO stands for Domain Object.
54. What is store and vault?
Ans : Vault is the storage place of Business Objects.
Store is used to store the files associated with the Business
Objects.
55. How to create a business object in jpo?
Ans: Using ADK and AEF methods.
56. Can two policies govern a same type?
Ans : Yes, but while creating object and performing other operations
only one among the policy should be used.
58. Tags used in jsp?
Ans : Declaration, Expression, Scriplets, Directive and Action Tags.
59. How to include style sheets in JSP?
Ans : getStyleSheets(stylesheet name);
addStyleSheets(stylesheet name);
60. How to handle Runtime Exception in JSP?
Ans : Using error attribute of page directive.
<@ Page error = “[Link]” />
<@ Page isErrorPage = True />
62. Can v use java script in JPO?
Ans : Yes, we can use java script in JPO using ProgramHTMLOutput
settings.
63. How can v use tcl files in jsp?
Ans :
65. What is designer central?
66. What is the flow of designer central?
67. What is the use of pack and unpack in JPO?
Ans : Pack is used to convert a Java object into String Array (used in
JSP’s).
Unpack is used to convert String Array into Java object (used in
JPO’s).
68. What are the different methods to invoke JPO?
Ans : 2 methods are there:
Int = [Link] (context, JPO name, constr args, Method name,
method args);
Object = [Link] (context, JPO name, constr args, Method
name, method args, class);
Ex:
Vector = [Link] (context, JPO name, constr args, Method
name, method args, [Link]);
69. Can we pass the hash map in place of string [] init args?
Ans : Yes.
Object = [Link] (context, JPO name, constr args, Method
name, [Link](hashmap), class);
70. What is propagate modify?
Ans : Propagate modify is used to time stamp, whenever the
relationship attributes are modified.
71. What is the difference b/t find number and Reference Designator?
Ans : Find Number and Reference Designator are EBOM Relationship
attributes.
Find Number is the unique number to identify the child parts (or)
components.
Reference Designator is the location in the Assembly.
73. What is the different b/t remote vault and the foreign vault?
Ans : Remote Vault is used to share data’s between two different matrix
installations but same database.
Foreign Vault is used to share data’s between two entirely
different database.
74. How we will configure the foreign vault?
Ans : Using Interface and Map in foreign vault.
In Interface give [Link] library path and in Map give the map
File.
75. What are the UI3 components are available?
Ans : Menus, Commands, Web Forms, Tables, Inquires.
76. What are the way to hide the command for a particular role and
group from the application.
Ans : Access Expression (or) Access Program and Access Function.
77. What are the other ways to do hide the command other than access
masks, access expression and access program?
Ans : In command Object Access tab give only the users who can
access the command instead of ALL users.
78. What is the dif b/t group and role?
Ans : Group is an organization. It has a hierarchy.
Role is specific representative of work.
79. What is policy?
Ans : Policy is used to govern the Business Object. It is a set of rules
which gives access to the business object.
80. Why Policy is required? What are the thing we can define the
policy?
Ans : Policy is required to give Revision Sequence, Store, Defining
Lifecycle and Object Access.
81. What is the use of program and program HTML output in the
webform setting?
Ans : Program is used to write Java program which returns Java Object.
ProgramHTMLOutput is used to write HTML code which returns
String.
82. How to get the full name from the sso id and how to display in the
Webform?
Ans :
83. What is EBOM markup?
Ans : EBOM markup has Assembly(parent & child parts) and
Components as child Parts.
[Link] is the flow of new part and released part (how to create new
revision)
85. What is collaboration server?
Ans : Collaboration server is nothing but RMI server which is used to
communicate between database and web application.
88. What is the difference alternate and substitute part?
Ans : Alternate Part can replace all other child parts in various
assembly.
Substitute part can replace the child part only in that particular
assembly.
89. Write an mql query to print the relationship attribute. What are the
different methods to do it in mql.
Ans : 3 ways are there :
Temp query bus T N R select from[Rel_Name].[Link];
Print bus T N R select from[Rel_Name].[Link];
Expand bus T N R relationship Rel_Name select rel
attribute[].value;
90. What are the different types of the trigger and give some real time
example of the override trigger.
91. How to send the icon mail. Can we send the icon mail from override
trigger.
Ans : Yes, we can send icon mail using override trigger.
92. What is use of .ini file?
Ans : ini file gives the initialization parameters of Matrix. It contains
paths related to Matrix core, Java and RMI server.
93. What is bootstrap file?
Ans : Bootstrap file is used to connect matrix to database.
94. Difference between list, Temp and print query.
Ans :
97. How to iterate through Hash Map?
Ans : Using Iterator().
98. When we use Vector?
Ans : When we want the list to be synchronized we use Vector.
99. What is RPE? When we use RPE?
Ans : RPE is Runtime Program Environment. We use RPE when the
trigger in a current state uses the trigger O/P of the previous state.
101. How to create String List?
Ans : StringList a = new StringList();
103. Can an object be created without policy?
Ans : No
105. What are admin type and business object?
Ans : Admin Types Business Object
1. It is created in Business It is created in Matrix Navigator.
Modeler.
2. It is stored in Administration It is stored in Business Vault.
Vault.
3. It is to define the Business It is the instance of the Business
Object. Object.
106. What are the relationship revision rules? Explain
Ans : None, Float and Replicate.
107. What will be the first three statements in tcl file?
Ans : Tcl;
Eval {
}
108. Why we specify the Registered Suite?
Ans : It is used to give the location of the files which contains the
values of the keys specified in our JSP file.
109. In compile program command in mql, what force signifies?
Ans : Force signifies that all JPO programs are compiled by force.
110. What is collection? Why we need it? What are the subclasses of the
collection?
Ans : Collection is a interface, used to store group of object. Subclasses
are Set, Map and List.
111. How to get particular set of attribute value from an object? Tell all
the approach.
Ans : 2 ways are there :
getInfo() and findObjects().
Add the attributes in a string list and pass the string list as
parameter in either getInfo() or findObjects().
getInfo() retrieves quickly whereas findObjects() takes time.
String = getInfo(context, string select);
Map = getInfo(context, stringlist ObjSelect);
MapList = getInfo(context, ObjectId’s [], stringlist ObjSelect);
Pass stringlist containing the attribute to the findObject method of
domain object
112. What is the difference between String and StringBuffer? Which one
will you prefer?
Ans : String StringBuffer
1. Strings are immutable StringBuffer is mutable.
2. Strings can be added using Strings can be added using
concat method. append method.
3. It reuses the heap memory It creates a new memory for its
for its operation. Operation.
113. What are the AEF components?
Ans : Menus, commands, Web Forms, Tables.
114. Is JPO an AEF component?
Ans : No, JPO is a basic component.
115. Mention the scenario where we use table or form.
Table- to list object
Form-to display properties or create a particular object.
116. How the object ids of selected item in the table are retrieved in jsp?
Ans : For single Id :
String str = emxGetParameter(request,”emxTableRowId”);
For Multiple Id’s :
String[] str = emxGetParameterValues(request,”emxTableRowId”);
[Link] is static method and variable? Real time usage of static
variable and method.
Ans : Static method and variable are class variable and method, using
class name these variables/methods are accessed.
Real time usage-used for counting the number of objects.
[Link] between Overloading and Overriding.
Ans :
119. What is eMatrix?
Ans : eMatrix is a software and tool to support PLM. It has 4
components Business Modeler, Matrix Navigator, System
Manager and MQL. It is used for creating and developing objects
for a particular product.
120. Can a revision sequence be alphanumeric? Where will you specify?
Ans : Yes, revision sequence will be specified in Policy.
Ex : A001,A002,A003…
A.0,A.1,A.2…
[Link] autonaming is implemented? Why autonaming is used?
[Link] are the steps needed for successful login to application?
These are the schema requirements needed for a person to successfully access the
Engineering Central application. The system fulfills all these requirements
automatically when companies and employees are added using the application’s
Administration pages.
39. To represent the person’s company, a business object of type Company is
created and promoted to the Active state.
40. To represent the person, a person administrative object (person in Business
Modeler) is defined with default settings for privileges.
41. Also to represent the person, a business object of type Person is created with
the same name as the administrative object. To log in, the Person business object
must be in the Active state.
42. The Person business object must be connected to the Company business
object with the Employee relationship.
43. To access the Administration pages, the Person object must be assigned the
Organization Manager role. A Person in this role has access to
company administration features, such as the ability to add
companies and edit the profiles for employees.
[Link] will you handle NullPointerException?
Ans : Check the whether the variable value and method is returning a
null or not by using if-else statements.
[Link] will you disable a person to login in to application?
Ans : In person admin type check Inactive.
Specify password in the person tab.
Demote the object to inactive state.
125. What is CDM?
Ans : Common Document Model
[Link] will you create schema?
Ans : Schema is created after installing Framework.
128. How to run mql command in tcl?
Ans : In tcl we can run MQL command through mql keyword.
Ex:
Tcl;
Eval{
[mql temp query bus T N R select state] }
[Link] trigger type you will use for icon-mail?Why?
Ans : Override trigger.
132. Write an mql query to list all the parts which are in release state?
Ans : temp query bus Part * * where current==Release;
134. Write a mql query to list all the relationships connected to the part?
Ans : expand bus T N R select relationship name;
Temp query bus Part * * select relationship;
[Link] of Part.
[Link] to retrieve related objects in ADK?
[Link] is the difference between ADK and AEF?
144. Write mql query to list the relationship attribute connected to the
part and the part attribute?
Ans : Temp query bus T N R select from[Rel_Name].[Link];
temp query bus Part Set4 * select from.[EBOM].[Link];
Print bus T N R select from[Rel_Name].[Link];
Expand bus T N R relationship Rel_Name select rel
attribute[].value;
[Link] sequence for constructor and static initialization blocks
in a java program.
[Link] is the diff b/w Abstract class and interface?
[Link] is collection class? What is Set?
[Link] is JVM?
150. What are the implicit objects used in JSP’s?
[Link] is scriptlet and declaration?
Declaration :- Used for declaring variables and methods.
example : <%! int num =0; %>
During translation and compilation phase of JSP life cycle all variables declared
in jsp declaration become instance variables of servlet class and all methods
become instance methods. Since instance variables are automatically
initialized, all variables declared in jsp declaration section gets their default
values
Scriptlet:- Used for embedding java code fragments in JSP page.
example : <% num++; %>
During translation phase of JSP Life cycle all scriptlet become part of
_jspService() method. So we cannot declare methods in scriptlet since we
cannot have methods inside other methods. As the variables declared inside
scriptlet will get translated to local variables they must be initialized before use.
[Link] is include directive and jsp:include stands for?
[Link] of Ematrix.
154. Synchronization in java, Runnable interface and Thread class
usage.
[Link]. b/w forward and sendRedirect in JSP.
[Link] is RequestDispatcher?
[Link] of JSP
158. print bus ka ADK method = getInfo(), temp query bus = findObjects()
expand bus = getRelatedObjects()
installation: oracle 10G, jdk 1.6, tomcat6, modelling studio, server, BPS,
(AEF),centrals
V6: different search page, mass update, customizing new table. ECR
ECO lifecycle has route instead of signatures.
What is the difference between jdk,jre and jvm?
Ans: JDK: Java Developer Kit contains tools needed to develop
the Java programs, and JRE to run the programs. The tools
include compiler ([Link]), Java application launcher
([Link]), Appletviewer, etc…
Compiler converts java code into byte code. Java
application launcher opens a JRE, loads the class, and
invokes its main method.
You need JDK, if at all you want to write your own
programs, and to compile them. For running java programs,
JRE is sufficient.
JRE: Java Runtime Environment contains JVM, class
libraries, and other supporting files. Actually JVM runs
the program, and it uses the class libraries, and other
supporting files provided in JRE. If you want to run any
java program, you need to have JRE installed in the system.
JVM: Java Virtual Machine interprets the bytecode into the
machine code depending upon the underlying operating system
and hardware combination. It is responsible for all the
things like garbage collection, array bounds checking, etc…
JVM is platform dependent.
The JVM is called "virtual" because it provides a machine
interface that does not depend on the underlying operating
system and machine hardware architecture. This independence
from hardware and operating system is a cornerstone of the
write-once run-anywhere value of Java programs.
1. To call the “webform” from the command
${COMMON_DIR}/[Link]?
form=type_ECR&formHeader=[Link]
tributes&HelpMarker=emxhelpecrproperties
2. To call a table from the Command
1. ${COMMON_DIR}/[Link]?
table=ELGI_PendingTasks&header=[Link]
ngTasks&program=ELGI_emxSignatureApprovalAlert:getObjects&Printe
rFriendly=true `
3. To call the Portal from the Command
1. ${COMMON_DIR}/[Link]?
portal=ENCECOSummaryView&toolbar=ENCengchgECODetailsToolBa
r&HelpMarker=emxhelpecopowerview
Where the menu “ENCengchgECODetailsToolBar” is the toolbar
will contain the commands/menus like Edit,Promote.. etc.
A product line identifies a finished product or group of similar
products. For example, an automobile manufacturer might have
several product lines for the different car models, such as sedans,
convertibles, trucks, etc.
----> Naming
Conventions
There are two problems with using schema object names for the JPO class. The
first
problem is that eMatrix schema object names are allowed to contain spaces and
other
non-alpha characters that would cause the Java compiler to complain. The second
problem
is dynamic changes to the schema object names would not automatically be made
to the
code within JPOs.
Special macros are used to map the schema object names to legal Java-compliant
names (a
process know as name mangling). These macros are also be appropriately
modified
automatically when a schema object name is changed. There are two types of
special
macros.
The first macro is used to refer to the JPO name in the Java class definition. In this
cases
the macro is
${CLASSNAME}
A similar macro is also used to refer to other JPO classes inside the code of a JPO,
for
example when extending a base class or newing up an object. In these cases the
macro is
12 eMatrix JPO Programmer’s Guide
${CLASS:jpo_name}
where jpo_name is the name of the JPO holding the class of interest. Use of these
parameterized class names allows both dynamic loading of classes after the source
has
been changed without restarting the system, and automatic generation of
dependencies
between multiple Java Program Objects.
For example, if there is JPO named “RADProject” and its corresponding Business
Type
RADProject derives from Project, then the Java code defining the class for
RADProject
would look something like:
public class ${CLASSNAME} extends ${CLASS:Project}
{
:
}
During compilation, the macro ${CLASSNAME} is mangled into a name that
includes the
JPO name “RADProject” (plus a suffix of “_mxJPO” followed by a hashed
encoding) and
the macro ${CLASS:Project} is mangled into the exact same name as it was for
${CLASSNAME} appearing in the Project JPO. In other words, the system does
all the
appropriate name mangling and the JPO programmer need only be concerned with
the
higher-level macros.
For example, the “Hello World” JPO ends up with a class name something like
Hello_World_mxJPOtAXMTwEAAAAFAAAA (the hashed encoding at the end
will
vary).
4. Why we use packArgs & unpackArgs?
= Since JPO accepts only string, so to send data other than string packArgs is
used.
Q2 If we want to change the type of an attribute then what
shall we do?
Ans. First create a new attribute and do data migration from the old
attribute to the new one and through mql command do export import
of the types to the new attribute where the attribute is used.
Staging folder will be created after the installation of AEF. It wl have properties folder
and eMatrix folder.
Distrib folder will be created after running war util.
Spinner – consist of the matrix schema.
The setting “Field Type” is used for customizing the field behavior when used as
form row within the View / Edit Forms. The field type can be assigned to one of
the following option:
program: This setting indicates that the values for this field are obtained from
a program (JPO). When the setting is defined as “program”, the associated
settings “program” and “function” must also be defined.
programHTMLOutput: This setting is same as the “program” setting above,
except that the field value returned by the program (JPO) is in HTML format.
Again when this setting is defined as “program”, the associated settings
“program” and “function” must also be defined.
The “Range Program” setting is assigned to a JPO name, which contains a
method to get the field value ranges (choices). This program is used only
when the setting “Input Type” is set to “combobox” or “radiobutton” or
“checkbox”.
The “Range Function” setting is assigned to a method name in the JPO program
given in the “Range Program” setting. This method is defined to get field
range values, if the setting “Input Type” is set to “combobox” or “radiobutton”
or “checkbox”.
The “Update Function” setting is assigned to a method name in the JPO program
given in the “Update Program” setting. This method is defined to set the field value, if
the setting “Field Type” is set to “program”.
Refer “Writing the JPO program for updating the field value” section in this
document for details.
This approach (filed setting) is recommended, only when the “Field Type” is not
attribute or basic
5. What are the upgradation steps we follow?
6. What do validate upgrade does?
Ans: It will display all the schema collisions without upgrade.
7. How to upgrade customized JPOs?
8. When we install core and rmi wht are the SQL tables will be created by default?
Ans: LX tables for admin objects and MX tables for business objects.
9. Why we write the methods in derived class why not in Base class?
Ans: b’coz during upgradation Base class methods will be replaced.
10. When we upgrade which JPOs will be upgraded (ex. emxPartBase ot emxPart)?
Ans: Only Base JPOs(emxPartBase)
11. How to create tree menu for the customized type?
Ans: Create a menu with the name ‘type_TypeName’ and add this menu under ‘Tree’ menu.
12. What is the setting to display particular command in the tree as the default view?
Ans: Add a setting ‘Default Category’ = ‘CommandName’ on the tree menu.
13. What are the field settings in web form to get the attribute values as combo box?
Ans: Field Type:attribute, Input Type:combobox
14. MQL cmd to print the attribute value on a relationship?
Ans: print bus objectId select to[relationshipName].attribute[attrName];
15. MQL cmd to print the assigned role of a particular Person?
Ans: print person ‘Person Name’ select assignment;
16. How can we improve the performance of a MQL cmd (ex:We have print cmd. How can we improve the
performance for this cmd) ?
17. What is the Engineering Change Process?
18. What is EBOM Mark-up?
19. How can we limit the number of BO for temp query bus?
Ans: temp query bus * * * limit 10;
20. How can we know the number of BO of particular type present in the DB?
Ans: eval expr count=true on temp query bus ECO * *;
21. What is the difference b/w Remote and Foreign Vaults and how to configure them?
22. What ADK methods/classes will use?
23. findObjects()/ getRelatedObjects()?
24. What is the MQL command to print the files check-in to the BO?
Ans: print bus TNR/ObjectId select [Link];
25. What is the difference b/w using ObjectId and TNR?
Ans:
26. How to use HashMap?
Ans: HashMap map = new HashMap();
[Link](key,value);
[Link](key);
27. How to handle Exceptions in jsp?
Ans: put the following tag where we have to handle the exception
< @ page errorPage=[Link] >
In [Link]
Put the following code to handle the exception
< @ page isErrorPage=true >
28. What are implicit and explicit objects in jsp?
29. What is the difference b/w ArrayList and Vector?
30. What is synchronized?
31. What is the difference b/w String and StringBuffer?
32. What is RPE variables?
Ans: The Runtime Program Environment (RPE) is accessible to JPO methods using the ADK
MQLCommand object. The various get and set environment commands can be passed and the
results received back. The RPE is not dependable in the thin client architecture of ENOVIA
MatrixOne applications. The RPE should be avoided in this environment.
Can a policy have many types?
No
Can a type have many policies? In such case which will be the default policy?
Yes e.g. ECO type is governed by two policies ECO and ECO(Standard).
It will take from the Properties file ([Link]). Need to specify the default
policy in it.
How to get the attribute value where we have the object id?
print bus ObjectId select attribute[Originator].value;
Two bo’s A and B are connected by a relation C.I have the object id of A only. How to get the object id of
[Link] how to get the attribute value of B.
print bus 28448.14365.18400.7812 select relationship[Affected Item].[Link];
print bus Objectid(A) select relationship[C].[Link] ;(this will give the object id of B)
print bus Objectid(A) select relationship[C].to. attribute [D].value ;( this will give
the attribute value of B)
The trigger management system contains two main components. The first component,
installed with the framework, is the Trigger Manager (emxTriggerManager). The Trigger
Manager accepts input for one argument only. This argument is the name of business
objects of a type called eService Trigger Program Parameters, the second component of
the trigger management system. Trigger Program Parameters objects represent specific
trigger programs and are installed with the ENOVIA products.
eService Trigger Program Parameters objects have attributes that specify the:
• trigger program to run
• inputs to be passed for the trigger program’s arguments
• order in which the trigger program should be executed, if other trigger programs of
the same kind run for the trigger event
Input for the Trigger Manager is . . .
. . . the names of the eService
Trigger Program Parameters
business objects that represent
trigger programs to run.
Chapter 6: Working With Event Triggers 179
• if the trigger program is a Java program, the name of the method inside the JPO to run
One eService Trigger Program Parameters object must exist for each trigger program that
needs to be run for a trigger event. For example, if a trigger event has two check programs
and one action program, there must be three Trigger Program Parameters objects.
Advanced features as per version x+3 OOTB over old version 10.8
33. Policy governing ECO and ECR object has been changed to ECO and ECR rather than using the previous
policies as ECO (Standard) and ECR (Standard).
34. While ECO is promoted to Review state, part revision is created.
35. Change class is introduced as per retrieving the ECO and ECR object ID’s for searching.
36. Right click options are provided for objects in order to guide with the objects for e.g. version, files attached ,
lifecycle etc.
37. View of creating objects and other navigation pages related to that objects has been changed, from JSP’s to
Webforms.
38. Structure Browser has been used effectively.
39. Route Templates/Distribution List has been introduced. Navigation of creating and viewing of Routes has been
modified.
40. The role of Design Responsibility has been changed to (Change Board) Change Responsibility.
41. Affected Items has been introduced in the UI, collectively interlinked with affected objects of parts.
42. For ECO to move from Design to Release state, all the affected items should be in Released state.
43. Releasing ECO , releases the affected item also.
44. We don’t need a new ECR to revise the affected item.
45. Markup-- Item Markup is a new feature [Link] Markup is changed to BOM Markup for multilevel.
46. PDF Generation is same as in previous version 10.8.
47. Versioning is done only for parts, not for documents.
48. Autonomy Search has been introduced.
1. How do you handle exceptions in jsp?
Bu using errorPage attribute.
You can use the errorPage attribute of the page directive to have uncaught run-time exceptions automatically forwarded
to an error processing page. For example:
<%@ page errorPage=\"[Link]\" %> redirects the browser to the JSP page [Link] if an uncaught exception is
encountered during request processing. Within [Link], if you indicate that it is an error-processing page, via the
directive: <%@ page isErrorPage=\"true\" %> Throwable object describing the exception may be accessed within the
error page via the exception implicit object. Note: You must always use a relative URL as the value for the errorPage
attribute.
2. Difference between jpo and TCL?
Jpo is better than tcl in the above properties-threadsafe, reusability,performance, oops
3. Types of trigger and where to use which trigger? How do you write a trigger?
4. Scenario – A part has to be promoted to release state from review state,
if it is promoted then write it in oracle if not then write in a file.
5. Scenario – A Assembly is connected to a part and the part is connected to a specification with relationship
EBOM which has some attributes also, you have TNR of assembly how you will get the EBOM rel attribute us-
ing mql,business object, domain object.
Temp query bus Part * * from relationship[EBOM].attribute
6. Whether can we create our own documents if yes then how will you do?
7. Settings that can be given in webforms?
8. About TCL
9. About program HTML output.
programHTMLOutput— —The values for this column are obtained from a program (JPO), except the column value output
is in HTML format as opposed to program. Column values are placed in the table cell
between <td> and </td> tags. This setting ignores other column settings such as Show Type Icon, href, format, and
Alternate OID expression.
10. About project.
11. How do you invoke jpo from a jsp?
12. Difference between table and webform?
13. Implicit objects in jsp?
14. Difference between session and application?
15. Difference between [Link] () and [Link] ()?
16. Difference between java bean and jpo? Can we write a bean instead of jpo?
A java bean is better than jpo in performance as it does the load [Link] bean resides in the App server where
as JPO reside in the RMI [Link] bean can be accessed faster.
17. How do you write own exceptions in java?
18. Frequently used classes and methods in business objects and domain objects with syntax?
19. Scenario – you have a login page after logging in when I click a command it is showing some exceptions in some
jsp. How do you find from which jsp it is throwing error and how do you handle to solve this issue.
Different types of Vaults & Stores?
Vault- to store business objects and stores- to store all the documents and files related to the business objects.
Matrix Architecture
Spinners installation and usage
Implicit & Explicit objects
RIP&RMID mode installation
RIP mode-one instance of RMI pointing to the [Link] RMI server starts up automatically on starting up the app server.
Non RIP mode-more than one instance of RMI pointing to the [Link] RMI server has to be manually started up.
Oracle stored Procedures
TCL
UI3 components
Invoking JPO
[Link](Context context, String className, String []initargs, String methodName, string []methodargs,
[Link] retType)
pack & unpack Args
public static String []packArgs(Object in)
public static Object unpackArgs( String[] in) throws Exception
File colloboration Server
Servlet Lifecylce
what is policy?
life cycle of part?
what for web-form is being used?
To create any buobject or to display its properties.
difference between webform and table?
Webform- for one busObject
Table- for more than one busObject
some mql query? expand bus (he just give me one senario and ask for mql query for that senario)
what is spinner?
trigger?
jpo?
what is unpack of argument in jpo?
Todeserialize/convert an String back into an object.
previous project detail?
which wil give more performance in terms of time of executin.. jsp or jpo?
1) EC worked ,Spinners,JPO,JSP(Wrt new JSP for object ctreation),
2) Lifecycle of EC
3) General component question
4) Spinner is more imp ..How do design schema
eMatrix :
1. Difference between Temp Query bus and Print bus.
2. Explain eMatrix Architucture-->in out of box implimentation how the jsp,Jpo,Bean is represented?
JSP --> JPO --> Bean Flow.
3. How we can call JSP from JPO?
4. How to call a JPO from a JSP?
[Link]();
5. Difference between 10.5 Vaesion and 10.7 Version?
6. Explain the Access Precedency? Which access will be checked first? Person or Policy?
Person first
7. If an Object has Checkin Access, But Person dont have the checkin access.
Whether he can able to do the checkin process?
No
8. If an Object dont have Checkin Access, But Person have the checkin access.
Whether he can able to do the checkin process?
Yes
9. A TYPE has 15 attributes, but in objects properties page,
for certain members it has to display only 10 attributes. how to do this?
10. Difference between Business Admin Person and Business Object Person?
If we create only person Business object, is it possible for him to login the application?
11. How to modify a attribute's Data type. For example, an attribute is created in String data type.
we need to change that as integer without changing the attribute values in the BusinessObjects.
12. Explain Trigger Concept? what are the types of trigger? Explain Override trigger?
13. Senario :
For an trigger event :
In Check Trigger, Business Object is created.
In Override Trigger, an Attribute of that object is modified.
In Action, while trying to promote that new Business object, it gets failed.
Now what will be the status of that newly created Business Object?
14. What is emxTriggerManager? what is the purpose of it?
15. While creating Trigger Object, if the sequence is "" or 0, what will happen?
16. Different types of Vaults? Explain Forign Vault. Explain Remote Vault.
17. Is it possible to create Business Object using WebForm? if so, How?
18. what is the link to be used to edit the webform.
19. Usind ADK, is it possible to create Admin Object.
20. Difference between Domain Object and Business Object?
21. Explain Icon Mail? How to send a Icon Mail thru ADK?
Java :
1. Explain jsp implicit Objects.
2. Difference between pageContext and config.
3. How to use Arrays in javascript.
4. Explain servlet communication. How to traverse from one servlet to another servlet.
Geo-Metric - 3dPLM : Bangalore
eMatrix :
Store :
1. What is Store ? Types of store?
2. Where the files are getting stored in ingested store.
3. In which DataType the Files are getting stored in oracle? Whether the file is compressed and stored in Oracle?
4. Is it possible for a Oracle Administrator to access the file directly from oracle?
5. How the ingested store has More control over the file if oracle admin able to access the file.?
6. What is captured store?
Vault :
7. What is Foreign Vault?
8. How exactly it is working? - Example
9. Is it possible to map a JAVA object to ematrix object thru Foreign vault? - How?
10. How the mapping happens between the other objects and eMatrix Objects?
11. What is Remote vault?
If i know the bootstrap file directly i can access the other ematrix Database?
why we are using Remote Vault? What is the difference.
12. Write a Standalone java program to connect to eMatrix-DB and fetch all User available in Matrix.
13. what are the important parameters we need to pass while calling the [Link]?
14. what the inquiry will return?
Inquiries can be evaluated to produce a list of objects to be loaded
into a table in a JSP application.
15. what must the jpo must return while calling [Link]?
16. why there are columns in the table?
17. "ProgramHTMLOutput" refers what?
18. How intended table is working? Back end process?
19. Difference between ematrix 10.5 and 10.6 Version? what is new in the latest version.
Java :
1.
Class Parent{
public void a1(){
}
public void a2(){
}
}
Class Child extends Parent{
public void a1(){
}
public void a3(){
}
public static void main(){
Parent p = new Child();
Child c = new Parent();
}
}
// What is wrong? why?
2.
Class test{
final ArrayList AList = new ArrayList();
public void method1{
[Link]("One");
}
}
What is wrong?
Is it possible to add objectes to a Final variable(ArrayList)?
3. What is Thread concept?
4. What is synchronized concept?
5. is it possible for add synchronized keyword to all Static block / static method? If so.. what will happen.
6. What is difference between Application Server and Web Server?
7. What is meant by Session in Servlet / Jsp
8. What are the ways to handle Sessions?
9. Explain - url rewriting?
10. Difference between Error and Exception
1) Introduce yourself and about project details.
2) Where do we set the SMTP,FTP path settings?
ANS- MATRIX-INI
3) What does [Link] symobilzes?
ANS- Defines Initialization variables.
Consists the path where RMI is installed(MATRIXHOME), path where java lib files and property
files(MX_CLASSPATH), tcl lib files(TCL_LIBRARY), tk lib files(TK_LIBRARY) are present.
4) How to connect to database?
ANS- System- Install -Bootstrap-Enter username, p/w and connecting string. This will update in the MATRIX-R file
and point to the mentioned db. The username specified in the MATRIX-R file will have only one tablespace. so its
connects to that tablespace. EXTPROC_CONNECTION_DATA specified in the tns-ora helps in connecting to the
database.
5) Write a mql query to list all the parts which are in release state?
ANS- temp query bus Part * * where current=="Release";
6) Write a mql query to list all the relationships connected to the part?
ANS- expand bus Part PartToRelease 1 to;
1 New Part / Part Revision from ECO ECO-0000100 -
MQL<10>expand bus Part PartToRelease 1 from;
1 Part Specification to CAD Drawing A-0000101 A
7) How to call a jpo from jsp?
ANS- [Link](Context context, String className, String [] initArgs, String methodName, string [] methodArgs,
[Link] returntype)
8) Can we invoke another jpo from another jpo as if cascading?
ANS- Yes -[Link]()
9) How to add admin types used for application other than adding up manually through Business modeler provided in
Deliverables?
Ans. Spinner, MQL queries
10) How to hide and show a particular command at a particular state of any lifecycle of a object?
Ans. Access Expression
11) What are Routes?
ANS- Approvals along with task
12) What are Macros?
ANS-MACROS are precompiled codes which are used in the runtime dynamically.
13) How to retrieve related objects in ADK?
Ans. expandSelect() in BO in ADK
getRelatedObjects() in DO in AEF
14) What is the difference between ADK and AEF?
ANS- AEF consist of schema where ADK provides the development environment.
15) What are the parameters passed into a [Link]()?
ANS- [Link](Context context, String className, String [] initArgs, String methodName, string [] methodArgs,
[Link] returntype)
16) What does BO and DO stands for?
17) What is store and vault? Types of store and vault
18) How to create a business object in jpo?
ANS- BO bo = new BO (type, name, revision, vault);
This method itself creates a business Object
Also
[Link](context, type, name, revision, policy, vault); -a protected method.
To create a context-
Context con = new Context("");
[Link]("creator");
[Link]("");
[Link]();
19) Can two policies govern a same type?
ANS- No. At a time there is only one policy governing a type.
There is provision a selecting the policies of the parent type.
20) Why do we use javascript in JSP?
For validation in client side
21) Tags used in jsp?
ANS- directive- page<%@page %> and include<%@include %> and <% @taglib %>
Scriplet <% %>
Declaration <%! %>
expression <%= %>
22) How to include stylesheets in JSP?
ANS- getStyleSheet(stylesheetname)
addStyleSheet(stylesheetname);
23) How to handle Runtime Exception in JSP?
ANS- 1) try catch block
2) <%@page import= isErrorPage=”true” errorPage=<pagename>%>
24) What are triggers?
ANS-
25) Can v use javascript in JPO?
ANS- Yes we can but usually not done. Add the javascript in a String Buffer and return.
StringBuffer processStr = new StringBuffre();
[Link](“javascript”);
then return this StringBuffer
26) How can v use tcl files in jsp?
ANS- MQLCommand prMQL = new MQLCommand();
[Link](context);
prMQLString = "execute program [Link] ";
[Link](context,prMQLString);
Result = [Link]().trim();
error = [Link]();
1. about the project
2. what is designer central
3. what is the flow of designer central
4. what is the use of pack and unpack in JPO
5. what are the different method to invoke JPO
6. can we pass the hash map in place of string [] initargs
Yes we can pass anything in place of initargs but it has to be packed into string and send to the jpo invoke method.
7. what is propagate modify
8. what is the difference b/t find number and Reference Designator
Find number is an unique number allocated to a particular part in an assembly where as ref designator is also an unique
identifier which is mostly used for electronic parts. Like for registers-r1,r2..
9. what is vaults and stores?
10. what is the different b/t remote vault and the foreign vault.
11. how we will configure the foreign vault
Specify Map, Interface, Data Tablespaces and Index Tablesapaces;
12. what are the UI3 components are available
13. what are the way to hide the command for a particular role and group from the application.
Access mask, access expressions and access program
14. what are the other way to do hide the command other than access masks, access expression and access program
Object access in that ui3 components-do not specify that user to be restricted in the object access tab of that ui3
component.
15. what is the dif b/t group and role
16. what is policy.
17. what are the thing we can define the policy
18. what the use of program and program HTML output in the webform setting
19. how to get the full name from the sso id and how to display in the webform
[Link](context);
20. what is EBOM markup
EBOM Markup is a XML file that capture and save the changes on EBOM structure.
21. what is the flow of new part and released part (how to create new revision)
22. what is collaboration server.
23. what is RIP mode and non-RIP mode
24. what is RPE?
25. what is the difference alternate and substitute part?
Substitute part-assembly specific
26. write a mql query to print the relationship attribute. What are the different methods to do it in mql.
27. What are the different types of the trigger and give some real time example of the override trigger.
get
28. how to send the icon mail. Can we send the icon mail from override trigger.
29. what is use of .ini file.
30. what is bootstrap file
31. about the project
32. what is designer central
33. what is the flow of designer central
34. what is the use of pack and unpack in JPO
35. what are the different method to invoke JPO
36. can we pass the hash map in place of string [] initargs
Yes we can pass anything in place of initargs but it has to be packed into string and send to the jpo invoke method.
37. what is propagate modify
38. what is the difference b/t find number and Reference Designator
Find number is an unique number allocated to a particular part in an assembly where as ref designator is also an unique
identifier which is mostly used for electronic parts. Like for registers-r1,r2..
39. what is vaults and stores?
40. what is the different b/t remote vault and the foreign vault.
41. how we will configure the foreign vault
Specify Map, Interface, Data Tablespaces and Index Tablesapaces;
42. what are the UI3 components are available
43. what are the way to hide the command for a particular role and group from the application.
Access mask, access expressions and access program
44. what are the other way to do hide the command other than access masks, access expression and access program
Object access in that ui3 components-do not specify that user to be restricted in the object access tab of that ui3
component.
45. what is the dif b/t group and role
46. what is policy.
47. what are the thing we can define the policy
48. what the use of program and program HTML output in the webform setting
49. how to get the full name from the sso id and how to display in the webform
[Link](context);
50. what is EBOM markup
EBOM Markup is a XML file that capture and save the changes on EBOM structure.
51. what is the flow of new part and released part (how to create new revision)
52. what is collaboration server.
53. what is RIP mode and non-RIP mode
54. what is RPE?
55. what is the difference alternate and substitute part?
Substitute part-assembly specific
56. write a mql query to print the relationship attribute. What are the different methods to do it in mql.
57. What are the different types of the trigger and give some real time example of the override trigger.
get
58. how to send the icon mail. Can we send the icon mail from override trigger.
59. what is use of .ini file.
60. what is bootstrap file
Infinite Com Q
49. About the project?
50. Sequence of schema creation?
a) Create attribute
b) Create Type
c) Create Policy
d) Create Relationship
e) Create Prog
etc
51. What are triggers? About TriggerManager & eService Trigger Program Parameters
52. What is Check, Override & Action trigger? Will an action trigger be fired if the check trigger is true?
53. What are the UI3 components?Menu,Command,Table,Inquiry,Webform
54. Parameters to be passed in a trigger
55. What is the return type in a JPO?
56. What is the use of macros in a JPO?
57. In a webform, what parameters should we pass?
${COMMON_DIR}/[Link]?
form=type_Part&mode=edit&formHeader=[Link]&HelpMarker=emxhelpmpneditd
etails
1. Basics=Name,description
2. Expression=Expression like name,type,current, ,$<attribute[attribute_Originator].value> for
business objects and • $<attribute[attribute_FindNumber].value> for relationships
3. Applies To=Use to specify the item to apply the select expression to: the business object or
relationship.
4. Label= for the field
5. Link=
Href(specify the URL that gets executed when the field data is
[Link] only in case of view mode and not in edit mode)
Alt(define the ToolTip text to display when users move their
mouse pointer over fields configured to display images.)
RangeHref(Use to configure a textbox that has a Browse button that calls a chooser or
custom window from which users can select a value to populate the textbox. This Owner textbox
is an example with a range [Link] the RangeHref parameter, specify the href URL eg $
{COMMON_DIR}/[Link])
UpdateURL(Dynamic user interface components do not use this parameter. They
use the Update Program and Update Function settings instead.)
44. Settings Additional settings that define the behavior and appearance of the [Link]
Type=attribute
58. What is Propagate Modify and Propagate Connect/Disconnect?
59. Can I change the type of an attribute after it is created? No we cant. Even if we clone it we cant change
60. Diff betw Print and List?
61. How do I get the attribute value of a type using MQL?
Print bus TNR select type [type_name].[Link]
62. How do I checkin a file using MQL to a part?
- checkin bus Part Parent - append "c:\[Link]"
63. What is String and String Buffer?
A string buffer is like a String, but can be modified. At any point in time it contains some particular sequence
of characters, but the length and content of the sequence can be changed through certain method calls.
String str = new String("Stanford ");
str += "Lost!!";
First time str will have Stanford and when second time we add Lost, Stanford will be still there in the memory.
That means it will create a new string every time we modify and add StanfordLost in a new string. We cant
modify in the same string coz always it will create a new memory when modified.
But in StringBuffer,
StringBuffer str = new StringBuffer("Stanford ");
[Link]("Lost!!");
First time str will have Stanford and when second time we append Lost to it, it will append to the same string
everytime we modify .It will not create a new String.
64. OOPS concept?
65. Inheritance
66. Abstract class and Interface?
67. Mutable and Immutable?
68. Installation steps?
69. Print and temp
20/3/2009
Something about myself?
About the project
Tables
Can we add a command to a command?No
Can we add menu to a menu?yes
Can we add a command to a menu?yes
syntax for set context username and password.
How will u check the context in MQL?Print context
attribute value
How much will u rate ur self on a rate of 1 to 10 in Core Java?
String n string buffer..what is the main purpose?
What are the UI3 components
About webform? Why it is used?
A Web form displays characteristics of a business object, including attributes, basics, or other properties. Each
characteristic is listed in a row on the form page; each row on a page is a field. Web form pages can be read only, such
as a page that shows details for an object, or writable, such as an edit page for an object. We use the term “Web form” to
distinguish forms to be used in HTML/JSP applications from those used in Matrix desktop or Web Navigator.
Can we use a webform for getting the Type, Name and revision?
What are the Access Specifiers public: Public class is visible in other packages, field is visible everywhere
(class must be public too)
private : Private variables or methods may be used only by an instance of the same class that declares the
variable or method, A private feature may only be accessed by the class that owns the feature.
protected: Is available to all classes in the same package and also available to all subclasses of the class that
owns the protected [Link] access is provided even to subclasses that reside in a different package from the
class that owns the protected feature.
default :What you get by default ie, without any access modifier (ie, public private or protected).It means that it
is visible to all within a particular package.
diff bet public and default
Public class is visible in other packages, field is visible everywhere (class must be public too)
But default is visible to all within a particular package
Why private??
float,replicate,none
In case of float,a new connection will be created and the old connection will be disconnected.
In case of replicate,a new connection will be created but also the old connection will exist.
Stores
Ingested : Files will be stored in ORACLE Database; Files are broken and placed into a table in the database.
Captured: Files will be stored in the local file system of the Server in a specific directory; Use eMatrix functions to
copy file to a Directory on the file server; The files in the Captured Store are automatically renamed to insure
uniqueness within [Link] is the default Store
Tracked : Files will be tracked from the location where it is stored
- Not really a store at all.
- File does not move from local disk.
- eMatrix Database knows where the file resides
- The least controlled storage method.
can we change the attribute type after it is created?No
How to get the attribute value where we have the object id?
print bus ObjectId select attribute[Originator].value;
Two bo’s A and B are connected by a relation C.I have the object id of A only. How to get the object id of
[Link] how to get the attribute value of B.
print bus 28448.14365.18400.7812 select relationship[Affected Item].[Link];
print bus Objectid(A) select relationship[C].[Link] ;(this will give the object id of B)
print bus Objectid(A) select relationship[C].to. attribute [D].value ;( this will give the
attribute value of B)
I have a command in My desk menu.I want to get the Type, Name and Revision of all parts in release state?
How?
Create table with 3 columns. Type, Name and Revision with expressions as Type, name n Revision.
In the command ,pass the parameters
${COMMON_DIR}/[Link]?
table=TestDetails&program=TestDetails:getPrioritizationFactorList&toolbar=TestDetails&header=Test Details The
JPO method should return the object id.
JPO method:
public MapList getPrioritizationFactorList(Context context, String[] args) throws Exception
{
String typePattern = [Link] (context,"type_ECO");
StringList objectSelects = new StringList ();
[Link] (DomainConstants.SELECT_ID);
String sWhere= "current==Review";
mlPFList = (MapList) new
DomainObject().findObjects(context,typePattern,strVault,sWhere,objectSelects);
return mlPFList;
23. What is the difference between PLM and PDM?
PLM maintains the lifecycle of a product whereas PDM maintains the data ie core.
Can a policy have many types?
No
Can a type have many policies? In such case which will be the default policy?
Yes e.g. ECO type is governed by two policies ECO and ECO(Standard).
It will take from the Properties file ([Link]). Need to specify the default policy in it.
26. Can a top level class be private or protected?
: No. A top level class can not be private or protected. It can have either "public" or no modifier. If it does not
have a modifier it is supposed to have a default access. If a top level class is declared as private the compiler will
complain that the "modifier private is not allowed here". This means that a top level class can not be private. Same is
the case with protected.
We can have private classes in a java file but they must be
nested inside another class. Top level classes cannot be private.
1. how to create a table under a new command which will populated with all the type= ECO.
2. How to create a table in a webform.
3. what is override triggers. Explain with examples.
4. if matrix versions are different for the different machine then can we use remote vaults.
Ans: No
5. Suppose we first write try block then catch block ans immediately after closing the catch block put one S.O.P
and the finalize block. Will it work ? error?
Ans: No, finalize block must come immidiatly after catch block.
6. can we write (Static Public Void Main) in place of (Static Public Void Main).what will be the error.
Ans: No
7. Can we write two main method inside one class??
Ans: No (Compilation error.)
8. what is GetInfo() method ?
Ans. To take any information abt business object for ex: Type, Name, Revision, Vault Etc. Pass as an argument.
9. if you want to create a Business object what will you use ADK or AEF ?
10. under which package FindObject, GetRelatedObject() mehod will come.
11. Method similer to Temp query bus, Expand bus, and Print Bus
Ans: FindObject() Temp query bus
GetRelatedObject() Expand bus.
GetInfo() Print Bus
12. where you define the file format and the location where you want to check in your file ?
Ans: Policy
13. suppose your check in a file in which store it will get stored.
Ans: Captured (Or you can define this in your policy.)
14. how to invoke a JPO from a JPO.
15. how to invoke a JPO from a JSP.
Ans: [Link]() method.
16. What are the parameters passed in [Link]() Method.
17. what is the difference between Hash Map and Hash Table ?
Ans: Hash Map: is unsyncronized and allows Null.
Hash table: is Syncronized and don’t allows Null.
18. difference between Interface and abstract Class ?
19. explain STATIC variable in JAVA ?
20. difference between Show and Read Access ?
21. What the Access Expression (or) Access Program and Access Function?
22. What are Access Levels Are there in Matrix ?
Ans: guest Level access, Admin Level Access
23. how to connect two business object in MQL ?
24. how will you use Business Object class and create a BO using the object of that class.
25. Suppose you need to create a BUSINESS Object and a DOMAIN Object. What will you use for then ADK or
AEF ?
26. 13) How to retrieve related objects in ADK?
Ans. expandSelect() in Business Object in ADK
getRelatedObjects() in Domain Object in AEF
27. what is RULEs ?
28. If check trigger is blocked then will Override Trigger will get fire or not ?
29. sequence of triggers.
Ans:- Check Action Override
if check trigger blocked then it will not come to Action or override. If action fail then it will not come to
Override.
30. What is checked and Uncheck Exception ?
Ans:
Checked exception Compile time exception. These are get checked by compiler.
Uncheck Exception Run Time Exceptions. These exception can not catch by the compiler.
For example:- Null Pointer Exception ( say you dividing something with 0)
(or you r trying to count the string length while you have not defined the string.)
These are the examples for Run time Exceptions only.
31. what is the difference between ArreyList and VECTOR ?
Ans: Vector is Syncronized.
1. What are the upgradation steps we follow?
2. What do validate upgrade does?
Ans: It will display all the schema collisions without upgrade.
3. How to upgrade customized JPOs?
4. When we install core and rmi wht are the SQL tables will be created by default?
Ans: LX tables for admin objects and MX tables for business objects.
5. Why we write the methods in derived class why not in Base class?
Ans: b’coz during upgradation Base class methods will be replaced.
6. When we upgrade which JPOs will be upgraded (ex. emxPartBase ot emxPart)?
Ans: Only Base JPOs(emxPartBase)
7. How to create tree menu for the customized type?
Ans: Create a menu with the name ‘type_TypeName’ and add this menu under ‘Tree’ menu.
8. What is the setting to display particular command in the tree as the default view?
Ans: Add a setting ‘Default Category’ = ‘CommandName’ on the tree menu.
9. What are the field settings in web form to get the attribute values as combo box?
Ans: Field Type:attribute, Input Type:combobox
10. MQL cmd to print the attribute value on a relationship?
Ans: print bus objectId select to[relationshipName].attribute[attrName];
11. MQL cmd to print the assigned role of a particular Person?
Ans: print person ‘Person Name’ select assignment;
12. How can we improve the performance of a MQL cmd (ex:We have print cmd. How can we improve the performance
for this cmd) ?
13. What is the Engineering Change Process?
14. What is EBOM Mark-up?
15. How can we limit the number of BO for temp query bus?
Ans: temp query bus * * * limit 10;
16. How can we know the number of BO of particular type present in the DB?
Ans: eval expr count=true on temp query bus ECO * *;
17. What is the difference b/w Remote and Foreign Vaults and how to configure them?
18. What ADK methods/classes will use?
19. findObjects()/ getRelatedObjects()?
20. What is the MQL command to print the files check-in to the BO?
Ans: print bus TNR/ObjectId select [Link];
21. What is the difference b/w using ObjectId and TNR?
Ans:
22. How to use HashMap?
Ans: HashMap map = new HashMap();
[Link](key,value);
[Link](key);
23. How to handle Exceptions in jsp?
Ans: put the following tag where we have to handle the exception
< @ page errorPage=[Link] >
In [Link]
Put the following code to handle the exception
< @ page isErrorPage=true >
24. What are implicit and explicit objects in jsp?
25. What is the difference b/w ArrayList and Vector?
26. What is synchronized?
27. What is the difference b/w String and StringBuffer?
28. What is RPE variables?
Ans: The Runtime Program Environment (RPE) is accessible to JPO methods using the ADK MQLCommand object.
The various get and set environment commands can be passed and the results received back. The RPE is not dependable
in the thin client architecture of ENOVIA MatrixOne applications. The RPE should be avoided in this environment.