Sollicitatievragen bij HCL Technologies: -Can a class be final? - Diff... | Glassdoor.nl

Sollicitatievraag

Sollicitatie naar Java Developer San Francisco, CA (Verenigde Staten)

-Can a class be final? - Difference between Application

  context and bean factory?
Antwoord

Antwoord op sollicitatievraag

3 antwoorden

1

Class can be final (if you dont want a class to be extended, make it final).

bean factory is the core of spring container. no body uses it nowadays- lol.

Application context is an extension to the bean factory. you can do pretty much everything with it. he he

Anoniem op 3 okt. 2016
2

Yes class can be final

1.Both beanfactory and application context gets bean by calling getBean() method

2.Bean factory object will be created on first user request known as lazy container. In application context object will be created on the time of loading application context.XML file
Known as early container

3.Bean factory doesn't support internationalization but application context supports.

Anoniem op 7 jun. 2018

Dit bericht is verwijderd.
Zie onze Gedragscode of Gebruiksvoorwaarden voor meer informatie. Zie onze Gedragscode of Servicevoorwaarden voor meer informatie.

Voeg antwoorden of opmerkingen toe

Meld u aan of registreer u om hier een opmerking over te maken.