Posts

Showing posts from May, 2019

Tririga Getting Started

What is Tririga? It's a product which manages processes related to the workplace, including people, locations, and assets. Modules: Tririga projects Tririga projects generates higher results from your capital programme. They improve 1. Environmental performance. 2. Financial performance 3. Operational performance. Tririga operations Tririga operations modules automate service delivery and maximize asset investment. They improve 1. Environmental performance. 2. Financial performance 3. Operational performance. Tririga Real state module This module improves lease cashflow and reduces operational cost It improves 1. Environmental performance. 2. Financial performance 3. Operational performance. Facility management Module This application improves space planning and increases facility utilization. It improves 1. Environmental performance. 2. Financial performance 3. Operational performance.

Difference between isBased on and IsInstanceOf Method

Rewritting in Customization

boSetRemote invoiceLineSett=invoice.getMboSet("invoiceline");MboRemote invoiceLineMbo=invoiceLineSett.moveFirst();

Java Interview questions

Interview questions Java What is Fail-Fast and Fail Safe Systems? What is the difference between Encapsulation and Abstraction?  There are two objects a and b with same hashcode. I am inserting these two objects inside a hashmap. hMap.put(a,a); hMap.put(b,b); where a.hashCode()==b.hashCode() Now tell me how many objects will be there inside the hashmap? What is the difference between StringBuffer and String class ? What are Marker Interfaces ? Name few Java marker interfaces ? What are various types of Class loaders used by JVM ? What are RESTful Web Services ? What is a cyclic dependency ? What is reflection ? How are classes loaded by JVM ? What is the use of HashCode in objects ? What is a ConcurrentHashMap ? How is Hashmap internally implemented in Java ? What is a Servlet Filter ? What are the ways to get the values from list ? There are 8 balls, 7 weigh 100 gms, 1 is defective, there is a weighing scale, any number of balls can be measured at the same time. in how many attemp...

Create Bootable drive commands

C:\WINDOWS\system32>diskpart DISKPART> list disk   Disk ###  Status         Size     Free     Dyn  Gpt   --------  -------------  -------  -------  ---  ---   Disk 0    Online          931 GB      0 B        *   Disk 1    Online         7633 MB  7632 MB DISKPART> select disk 1 Disk 1 is now the selected disk. DISKPART> clean DiskPart succeeded in cleaning the disk. DISKPART> create partition primary DiskPart succeeded in creating the specified partition. DISKPART> select partition 1 Partition 1 is now the selected partition. DISKPART> active DiskPart marked the current partition as active. DISKPART> format fs=ntfs   100 percent completed DiskPart successfully formatted the volume. DISKPART> assign DiskPart successfully assigned the drive l...

How to use Vlookup

Example formulae for vlookup is =VLOOKUP(D4,'[OtherExcelFile.xlsx]OtherExcelFileSheetName'!$H$112:$I$120,2,TRUE) here D2 is column I am finding H112 to H120 is records to search in I112 to I120 is record rows which I have to bring. 2 is column I am referring to i.e I column here. You can use match which is more easy than Vlookup for this task.

Getting started with Java Servlet

Image
What is Java Servlet Java Servlets are programs that run on a Web or Application server and act as a middle layer between a requests coming from a Web browser Architecture Request comes from browser to HTTP server and then to servlet. Servlet process this request and interact with database and send response via same channel. Servlets can be created using the javax.servlet and javax.servlet.http packages. Methods of Servlet javax.servlet.Servlet Interface 1. Init() 2. Destroy() 3. Service() 4. getServletConfig() 5. getServletInfo() Servlet API  Servlet API cotains 4 package 1. javax.servlet 2. javax.servlet.http 3. javax.servlet.annotation 4. javax.servlet.descriptor javax.servlet:- Contains classes and interfaces that define the contract between a servlet and a servlet container. javax.servlet.http:- Contains classes and interfaces that define the contract between an HTTP servlet and a servlet container. javax.servlet.annotation:- Contains annotations to annotate servlets, filter...

How to delete a folder you are not able to delete to due to long path.

Example C:\Very long path.... to be deleted you can use the command Go to path and enter subst x: . here . is current directory. and then you can delete X:\ Very long path.... going in x drive. subst x: /d

Python Useful programms

For Loop names = ['John', 'Jerome', 'Paul'] for m in range(len(names)):     print(names[m]);     m=m+1;       While Loop names = ['John', 'Jerome', 'Paul', 'George', 'Andy', 'Michael'] i = 0 while i < len(names):       print(names[i])       i += 1 Get Information about Interface import collections print (collections.__doc__); Variable Number of Arguments def manyArgs(*arg):   print ( "I was called with" , len (arg), "arguments:" , arg) manyArgs( 1 , 2 , 3 ) def manyArgs(*args):   result=0;   for arg in args:     result+=arg;   return result; print(manyArgs(1,2,3))