Jump to content

Recommended Posts

Posted

[quote name='biscuitraja' timestamp='1372171594' post='1303887695']
dependency injection ante enti
[/quote]
[quote name='Chinni_' timestamp='1371680760' post='1303871879']
Dependency Injection:

1.loose coupling and tight coupling:
all classes in springs are singleton coz they don't dependent on other classes..

this is called lightly coupled. Usually java doesn't like classes to be tightly coupled with each other it means it doesn't like the classes to be dependent on other class. to avoid this dependency we use Springs.

for example:
Case1:
Traveller Class

class Traveller{
p.s.v.m(String[] args()){
Car car = new car();
car.move();
}
}

Car class

public static class Car{
public void move(){
s.o.pln("basic car moves")
}
}


so in the above example if u want to replace the car class with any other class, say u want a Honda which is a car too instead of Car itself, this change will effect Traveller Class as we have instance of car class, so in short any changes in class Car would effect changes in class Traveller. which means Car class is tightly coupled to Traveller class which is not acceptable and not encouraged while developing big applications.


Solution is:

We can create an Interface and then implement it and the class traveller creates reference to the interface
Case2:
Class Traveller{
p s v m (String[] args()){
Vehicle v = new car();
v.move();
}
}

interface Vehicle{
void move();
}

class Car Implements Vehicle{
public void move(){
s.o.pln("move");
}
}


but still the Traveller class depends upon the new car instance i.e., the car class, So, still these classes are tightly coupled with each other.


So, for cases like this Springs came up with an extraordinary feature to rescue, when we configure concrete classes with sprig configuration file and referring the object to the interface type as in above case2.

Case3:
We are creating the spring configuration file by Spring framework container i.e., "APPLICATION CONTAINER" we use ApplicationContext in this case.

public class Traveller{
psvm(String[] args()){
Applicationcontext ctx = new ClassPathXmlApplicationContext("Spring.xml");
[size=4]Vehicle v = (Vehicle) ctx.getBean("vehicle");[/size]
v.move();
}
}
Spring.xml is the Spring ConfigurationFile which has
<bean id = "Vehicle" class ="Car"/>
id is Interface and class is Car class, so with this framework we can easily change the class to Car/MotorCycle or whatever class and just configure this spring file to the Application Context i.e., Spring Container.

Spring Framework:
It the light weight Dependency Injection and Aspect oriented Container and framework. As a container Spring helps in creating the objects and managing the wiring b/w the objects and also the life cycle of the object.


The basic concept of the Inversion of Control pattern (also known as dependency injection) is that you do not create your objects but describe how they should be created. You don't directly connect your components and services together in code but describe which services are needed by which components in a configuration file. A container (in the case of the Spring framework, the IOC container) is then responsible for hooking it all up.

i.e., Applying IoC, objects are given their dependencies at creation time by some external entity that coordinates each object in the system. That is, dependencies are injected into objects. So, IoC means an inversion of responsibility with regard to how an object obtains references to collaborating objects.


What are the different types of IOC (dependency injection) ?
There are three types of dependency injection:
Constructor Injection (e.g. Pico container, Spring etc): Dependencies are provided as constructor parameters.
Setter Injection (e.g. Spring): Dependencies are assigned through JavaBeans properties (ex: setter methods).
Interface Injection (e.g. Avalon): Injection is done through an interface.
Note: Spring supports only Constructor and Setter Injection


:) :) Spring framework overview at very high level :) :)
[/quote]
:)

Posted

[color=#454545][color=#333333][font=arial, sans-serif]his is Kiran from Soft path system LLC. Softpath is a preferred staffing vendor to fortune 500 companies in the US. We have an immediate opportunity with one of our clients. Please find attached job description below and if you are interested please forward your resume to ([/font][/color][/color][u][size=2][color=blue][email="[email protected]"][color=#0000FF][email protected][/color][/email][/color][/size][/u][color=#454545][color=#333333][font=calibri, sans-serif]).
[/font][/color][/color]
[color=#454545][color=#333333][font=arial, sans-serif]My apologies in advance if I have contacted you in error, please ignore this email or reply as not interested and I will take necessary steps to not solicit you for this opportunity again.[/font][/color][/color]
[color=#454545] [/color]
[color=#454545][color=#333333][font=arial, sans-serif]JOB DETAILS:

Client: AT&T
Position title: Java Developer[/font][/color][/color][color=#454545] (20[/color][color=#454545][color=#1F497D][font=arial, sans-serif]119[/font][/color][/color][color=#454545][color=#333333][font=arial, sans-serif])
Location: SAINT LOUIS MO 63101[/font][/color][/color]
[color=#454545][color=#333333][font=arial, sans-serif]Duration: 6 months Contract[/font][/color][/color]
[color=#454545][color=#333333][font=arial, sans-serif]Shift Timings: 8:00 AM to 5:00 PM[/font][/color][/color]
[color=#454545][color=#333333][font=arial, sans-serif]Shift Days: Monday – Friday[/font][/color][/color]

[color=#454545][color=#333333][font=arial, sans-serif]Qualifications:[/font][/color][/color]

[color=#454545][color=#333333][font=arial, sans-serif]1) Javascript Expert Required[/font][/color][/color]
[color=#454545][color=#333333][font=arial, sans-serif]2) CSS Expert Required [/font][/color][/color]
[color=#454545][color=#333333][font=arial, sans-serif]3) HTML Intermediate Required [/font][/color][/color]
[color=#454545][color=#333333][font=arial, sans-serif]4) XML Intermediate Required [/font][/color][/color]
[color=#454545][color=#333333][font=arial, sans-serif]5) English speaking skills-works directly with client Expert Required[/font][/color][/color]

[color=#454545][color=#333333][font=arial, sans-serif]Responsibilities:[/font][/color][/color]

[color=#454545][color=#333333][font=arial, sans-serif]Job Description:[/font][/color][/color]

[color=#454545][color=#333333][font=arial, sans-serif]Looking for experienced developers with extensive experience in developing Web 2.0 interfaces. If you have a lot of experience with JavaScript frameworks to build AJAX style applications, and a deep understanding of CSS, including supporting cross-browser issues) we’d like to talk with you about working on AT&T’s internal social business/collaboration platform. All applicants must have top-notch communication skills and be able to work independently. Occasional off hours work required during deployment.[/font][/color][/color]

[color=#454545][color=#333333][font=arial, sans-serif]Skills that are a PLUS:
Agile, Maven, Architecture, Database (Oracle, MySQL), Struts 2 / Tiles 2, Dojo, WebSphere, PHP, IBM Connections, Confluence, Application Design Architecture, Java[/font][/color][/color]

[b][size=2][color=black][font=arial, sans-serif]If you are interested, please reply to me with the below details along with and Latest copy of your resume in WORD format. Even if you are not available, but if you know someone who would fit this job, please don't hesitate to pass this email on to them.[/font][/color][/size][/b]
[color=#454545] [/color][list]
[*][size=2][font=arial, sans-serif]Work authorization?[/font][/size]
[*][size=2][font=arial, sans-serif]Phone Number (Preferred / Alternate) and best time to call:[/font][/size]
[*][size=2][font=arial, sans-serif]Expected Pay rate:[/font][/size]
[*][size=2][font=arial, sans-serif]Location (City/ State) and would you commute/travel/relocate:[/font][/size]
[*][size=2][font=arial, sans-serif]Availability to start a new assignment?[/font][/size]
[/list]
[color=#454545][color=black][font=arial, sans-serif]Looking forward to work with you,[/font][/color][/color]

[color=#454545][color=black]Thanks,[/color][/color]
[color=#454545][color=black]Have a wonderful day!![/color][/color]
[color=#454545][size=3][b][size=2][color=black]Kiran[/color][/size][/b][size=2][color=black] |Technical Recruiter[/color][/size] [size=2][color=black]| Email: [email="[email protected]"][color=#0000FF][email protected][/color][/email][/color][/size][/size][/color]
[color=#454545][color=black]Direct: 678-387-1184 | Work: 404 315-1555 Ext. 577 | Fax: 678-302-4488[/color][/color]
[color=#454545][size=3][b][size=2][color=black]Softpath System LLC[/color][/size][/b][size=2][color=black] | 3985 Steve Reynolds Blvd | Bldg C Norcross GA 30093 [/color][/size][/size][/color]
[color=#454545][color=#000099][url="http://www.softpath.net/"][color=#0000FF]www.softpath.net[/color][/url][/color][/color]

Posted

@Happy

Naade last post kada? did i miss any thing?

Posted

@PEKATA?
What whould like know about Insurance... i know little bit

Posted

[quote name='cherlapalli_jailer' timestamp='1372177679' post='1303888310']
@Happy

Naade last post kada? did i miss any thing?
[/quote]
repu okadu Java front end dev position ki F2F rammannadu....front end real time lo vaade konni frameworks ...scenarios kavalenu...

for example..Credit Card customer servicing application development anna anuko ...danilo UI ela design chesav? em framework vadav ante em cheppali?

Posted

[quote name='HAPPYNESS' timestamp='1372177910' post='1303888344']
repu okadu Java front end dev position ki F2F rammannadu....front end real time lo vaade konni frameworks ...scenarios kavalenu...

for example..Credit Card customer servicing application development anna anuko ...danilo UI ela design chesav? em framework vadav ante em cheppali?
[/quote]
as part of the java development

We only use Spring frame work and hibernate frame work

Sample HTML template with all Look n Feel features ...(mainly related to CSS) will be developed by web desginers..

so we receive a sample html file from them...and we incorparate out SPRING code ..like our custome tags etc..

Posted

mailny we use JQuery as prt of the web development other than SPRIN/STRUTS

Posted

@ Happy
Is it what u r looking or a frame work to to use Spring Framework?

Posted

[quote name='cherlapalli_jailer' timestamp='1372178714' post='1303888425']
@ Happy
Is it what u r looking or a frame work to to use Spring Framework?
[/quote]
ante konni frameworks vadutunnaru kada mayyaa...DOJO lantivi vaatini customize chestunnaru...alantivi emanna unnaya?? unte ela custoize chestaru

Posted

[quote name='HAPPYNESS' timestamp='1372178943' post='1303888452']
ante konni frameworks vadutunnaru kada mayyaa...DOJO lantivi vaatini customize chestunnaru...alantivi emanna unnaya?? unte ela custoize chestaru
[/quote]
mainly i did not use...those but if some one asks that question to me this is my answer

"I did not get a chance to work with that(XXX) as my company opted to do with the current frame work which we are working..and our downtown was recorded as 99.988

More over with my knowledge and exposure to different technologies i don't think xxx will be a real challenge to use/implement ...as these tools were ment to make developers life easy ...not to exaggerate i must(hope i am in ) be in a position to develop such tool so useing sholud not a problem at all
"

Posted

[quote name='HAPPYNESS' timestamp='1372178943' post='1303888452']
ante konni frameworks vadutunnaru kada mayyaa...DOJO lantivi vaatini customize chestunnaru...alantivi emanna unnaya?? unte ela custoize chestaru
[/quote]

poni nee resume lo / or nee mind lo emaina vunte cheppu let us discuss..since not much time for interview
we will touch at highlevel

Posted

[quote name='cherlapalli_jailer' timestamp='1372179387' post='1303888516']

poni nee resume lo / or nee mind lo emaina vunte cheppu let us discuss..since not much time for interview
we will touch at highlevel
[/quote]
resume lo Spring petta mayyaa...Spring tho front end ela develop cheyyachu..

let us say Web Service nundi Data vastondi ...Properties map cheskuntam...tarvata avi UI paina display cheyyali general scenario Customer Data anuko

First Name: Address Line1:
Last Name Address Line 2:
SSN: City: Sate : Zip:


denni UI paina display cheyyali em chestam Spring lo

Posted

[quote name='HAPPYNESS' timestamp='1372181766' post='1303888712']
resume lo Spring petta mayyaa...Spring tho front end ela develop cheyyachu..

let us say Web Service nundi Data vastondi ...Properties map cheskuntam...tarvata avi UI paina display cheyyali general scenario Customer Data anuko

First Name: Address Line1:
Last Name Address Line 2:
SSN: City: Sate : Zip:


denni UI paina display cheyyali em chestam Spring lo
[/quote]
spring lo controoler class
form class raayali

form class object lo ...ee values ni set chesi

Aa form in controllor dwara web page ki pampali
simple code kavali ante inkkada cut and past chestanu

Posted

[quote name='cherlapalli_jailer' timestamp='1372271243' post='1303893029']
spring lo controoler class
form class raayali

form class object lo ...ee values ni set chesi

Aa form in controllor dwara web page ki pampali
simple code kavali ante inkkada cut and past chestanu
[/quote]
ivvu mayyaa sample code... i luv u

Posted

[quote name='HAPPYNESS' timestamp='1372271451' post='1303893055']
ivvu mayyaa sample code... i luv u
[/quote]
email pm me
read to send its a zip file

×
×
  • Create New...