Beruflich Dokumente
Kultur Dokumente
2.Testing Types : BlackBox/White Box, Manual/Automated, Application/System, levels of testing: module, Integration,
System others
C, C++, Linux
C:
1.i/o : Fopen ();
2.datatypes : storage class: extern/global, static, local/auto, register
3.loops
4.methods_ptr_function_varags
5.built-in:atoi
1.#include <stdio.h>
Int main ()
{
If (printf (“hello World\n”))
{}
}
Trinary operator
2. X: y ? -1: 1;
C++:OOPs, STB
Java/J2EE
2.Advanced :
Controller:
Jsp_Servlets
Stuts, spring, JSF
Persistance
,Hibernate/JPA, TopLink
Back end :
SQL_PLSQL Oracle, Mysql
Core java:
Core java:
Contents
1.in/ou: RandomAccess: file handling, bufferedReader, serialization
2.datatypes : 8 primitive and wrapper classes, Array, String Class, object, legacy/Collections
3. loops: enchanced for loops
4.builtin: threads, synchronization
A-Z
1.Abstract, access spcifers
2.Collections, constructors
3.Datatypes
4.Exception_Handling
5.final_Finally_finalize : final for class, for method, for variable
6.grabage collection
7.hashcode, Hashmap
8.Interface
9.methods
10.native method
11.objects
12.static, supper, serilaca, symc
12.Transient
13.wrapper class
FAQs
w1. object class and its methos and return types and what toString returns
w2.String first char in two words of a string: charAT or substr(1, 1)
w3.Collections : collection.synchorinized
Q4.randomacces, buffer and random when you use
Q5.pow x pow y W.A.P
Q6.W.P (d1, d2, d3)
Q6.throw new Exception
Q7.Reflection and Clone
T8.inheritabce
Void a()
String a()
JDBC
4 types of drivers
Class.forname ()
Conn
State. Prestmt, callable
Execute,Excuteupdate execute
Conn pooling
JSP
1.Jsp Life cycle
2.Scriplets, E.L, Jsp:, jstl:, c:, your:
3.scopes: application
Servlets
1.Life cycle
2.geric servlets
3..do,.view, lister, fileters
4.cookies, session management
Html_CSs_AJAx_JS
Flex
Adobe FLEX
2) Open new mxml project, create new mxml file, run as flex application, one .htl and .swf file is
created, export the swf file and double click that is the exe file and is print iin the bin directory
4) Flex parts :
a) Flex components & custom components
• There is souce mode and design mode,
• there are controls like buttons , inputBox
• Layouts: panel,
• navigators like accordian
b) Flex Events & custom Events : like click
c) Flex Validator & custom validators : like email validator
d) Flex Formatters & Custom formatters
[Bindable]
[Embed(source="Sample2.jpg")]
private var img1:Class;
[Bindable]
[Embed(source="Sample1.jpg")]
private var img2:Class;
[Bindable]
[Embed(source="Sample2.jpg")]
private var img3:Class;
[Bindable]
private var cpp:uint;
private function show():void
{
cpp=cl.selectedColor;
}
<mx:Model id="jc">
<cos>
<co label="aa" data="111" />
<co label="bb" data="222" />
<co label="cc" data="333" />
</cos>
</mx:Model>
</mx:Application>
///////////////////////////////////////////////
//sample code 2: validators and formators
<mx:DateFormatter />
<mx:DateValidator source="{aaa}" property="text" trigger="{aai}" triggerEvent="click"/>
<mx:PhoneFormatter />
<mx:PhoneNumberValidator source="{aad}" property="text" trigger="{aai}" triggerEvent="click"/>
<mx:ZipCodeFormatter />
<mx:ZipCodeValidator source="{aaf}" property="text" trigger="{aai}" triggerEvent="click" />
<mx:CurrencyFormatter />
<mx:CurrencyValidator source="{aag}" property="text" trigger="{aai}" triggerEvent="click"/>
loader.addEventListener(Event.COMPLETE, populate);
loader.addEventListener(Event.OPEN, open);
loader.load(url);
result = loader.data;
}
private function populate(event:Event):void
{
var loader:URLLoader = URLLoader(event.target);
var result:String = loader.data;
textt.text = result;
}
private function open(event:Event):void
{
}
private function clear():void
{
textt.text = " ";
}
]]>
</mx:Script>
<mx:Panel x="10" y="10" width="792" height="583" layout="absolute">
<mx:TextArea x="10" y="10" height="236" width="752" id="textt"/>
<mx:Button x="10" y="268" label="CORE JAVA" click="fetch_data('Core_Java');"
id="fetchid1"/>
<mx:Button x="708" y="254" label="clear" click="clear();"/>
</mx:Panel>
<mx:Label x="187" y="10" text="File Handling in Flex" width="384" height="25" fontSize="20"
textAlign="center" fontWeight="bold" color="#AC09A2"/>
</mx:Application>
////////////////////////////////////////////////////
//sample code 4:state change
<mx:Script>
<![CDATA[
[Bindable]
private var myyy:XML=
<batches>
<batch id="B-1">
<no_stu>12</no_stu>
</batch>
<batch id="B-2">
<no_stu>12</no_stu>
</batch>
<batch id="B-3">
<no_stu>12</no_stu>
</batch>
</batches>
]]>
</mx:Script>
<mx:states>
<mx:State name="show">
<mx:AddChild relativeTo="{dd}" position="lastChild">
<mx:DataGrid dataProvider="{myyy.batch}" id="ll">
<mx:columns>
<mx:DataGridColumn headerText="id" dataField="@id" />
<mx:DataGridColumn headerText="no_stu" dataField="no_stu" />
</mx:columns>
</mx:DataGrid>
<!--mx:Image source="@Embed(source='Sample1.jpg')" id="ll" width="100" height="100"/-->
<!--mx:Label text="hello world" id="ll" /-->
</mx:AddChild>
</mx:State>
</mx:Application>
Stuts
Presentaion or View component
abc.jsp
Action form : Java Bean to retieve values fom JSP
Action Class : this is java class n not a javabean, becoz contains execute method
1)in View all struts tags are used : tiles, logic, html, bean tag important ones
2) Controller : ActionSevlet, RP, Action class or dynaaction
///////////////////////
important point to remenber tiles and validator are plugies ,i.e they another opensource framework like struts ,
but we can include them in struts
Spring
IOC
1) Spring services, spring is light weigt, spring design patterns
2) Alldatatypes_Setter_constructor_pnamespacde_cross_ref_inheritance_BDI_Property files
3) wriing, autowire, @autowire
4) Callbacks
6) loading, scopes
7) Editors, appliation_Events, listeners
AOP:
Aspect, Advice, jointpoint,poincut,advicer, introduction, Target, Proxy, Weaving
*spring AOP, AspectJ, JBOSSAOP
*3 ways to implement AOP: classic AOPAPI, nnotation based model, Schema model
AOP API: methodbeforeAdvice, AfterReturningAdvice, throwsAdvice, methodInterceptor
2ways to define pointcuts: JDk reg
JSF
Hibernate
SQL_PLSQL
/////////////////////////////////////////////////////////////////
Select : Query statement
/////////////////////////////////////////////////////////////////
select * from abc_table;
select id, name from abc_table;
select distinct id from abc_table;
select * from abc_table where id=11
SELECT * FROM Persons
WHERE FirstName='Tove'
AND LastName='Svendson'
UPDATE Persons
SET Address='Nissestien 67', City='Sandnes'
WHERE LastName='Tjessem' AND FirstName='Jakob'
UPDATE Persons
SET Address='Nissestien 67', City='Sandnes' /////if no where clause all tables area uodated
Mysql ||||||||
Int, long, float. Double, char, unchar, text, file
Oracle
Number, varchar, char, date, time