Jump to content

***********java Learning Center **************


BENDU_APPARAO

Recommended Posts

neenu Java fractice chestunna....

Web Logic App Server install chesa.. Tomcat laga deniki portal emi open avvada? Management activity cheyyadaniki [img]http://img511.imageshack.us/img511/9586/gunduue6.gif[/img]

Link to comment
Share on other sites

[quote name='HAPPYNESS' timestamp='1328895350' post='1301398445']
neenu Java fractice chestunna....

Web Logic App Server install chesa.. Tomcat laga deniki portal emi open avvada? Management activity cheyyadaniki [img]http://img511.imageshack.us/img511/9586/gunduue6.gif[/img]
[/quote]

Server start chesakaaa ..[b] http://localhost:7001/console[/b] ni access cheyeeee

Link to comment
Share on other sites

[quote name='BENDU_APPARAO' timestamp='1328899321' post='1301398811']
Server start chesakaaa ..[b] [url="http://localhost:7001/console"]http://localhost:7001/console[/url][/b] ni access cheyeeee
[/quote]


Alageee ... make sure u create u r domain ..... weblogic lo configuration managment aneee option click chesthy ... neeku domain create chesukovadaniki options isthundi ... domain name, username password ichakaaa ... select all defult values ....... and create u r domain ......


now u r domain will be avilable under weblofic installed folder > user_domain>ur domain name ..... andhulo startWeblogic.bat ani start chesukooooo ...... then in browswer lo [b][url="http://localhost:7001/console"]http://localhost:7001/console[/url] [/b]access cheyeee..

Or by default one sample domain vosthundi .... u can use that one also for practise

Link to comment
Share on other sites

[quote name='BENDU_APPARAO' timestamp='1328899642' post='1301398835']


Alageee ... make sure u create u r domain ..... weblogic lo configuration managment aneee option click chesthy ... neeku domain create chesukovadaniki options isthundi ... domain name, username password ichakaaa ... select all defult values ....... and create u r domain ......


now u r domain will be avilable under weblofic installed folder > user_domain>ur domain name ..... andhulo startWeblogic.bat ani start chesukooooo ...... then in browswer lo [b][url="http://localhost:7001/console"]http://localhost:7001/console[/url] [/b]access cheyeee..

Or by default one sample domain vosthundi .... u can use that one also for practise
[/quote]
CITI_y@R CITI_y@R

Link to comment
Share on other sites

[b]WAR anteee Web application Archive [/b].... simple gaaa webapplication .... indulooo HTML , images , JS lanti static content tho patu , JSP and Servlets untayeee ...... (Struts , JSF frameworks kuda internal gaaa servlets , JSP nee use chesthayee) ....WAR only lives in webserver or app server....

[b]JAR - Java Archive[/b] ... anteee set of java class file ni oka archive laa chesukoni mana application lo aaa classes ni re-use chesukontam like log4j jars ni thesukoni application logging ki vadukunatu.. anteee evadoo already rasinaa dhani mana application lo vadukuntee instead of manam malli same logic rasee badhuu ....so u r simple java application to web application or Enterprise application 99% depends on other JAR files to achive some functionality ...instead of same thing re-write

[b]inka EAR - Enterprise Archive files [/b]--- anteee oka enterprise application anna mata which contain WARs , JARS and EJB files(Ivvi kuda JAR laa neee chestham)....... EAR only lives in App server ..... (nee old question diff between web server and app server ni induloo chusukooo)


[b]inka OKKA mukka lo ivvi anni (WAR , JAR , EAR) anteee simple gaa ZIP files but with some rules (antee ee folder ilagee undali , ee folder lo eee file sure gaa undali ilaaa )[/b]

Link to comment
Share on other sites

[b] [size=6]Java *** Abstract Class Vs Interface[/size][/b]




[color=#282828][font=helvetica, arial, sans-serif]inka interview loo ee question adaga ganee manam egesukoni ee kindi answer sitham ....[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]interface anteee anni methods abstract by defult ... adheee abstract class lo konni methods ee abstract migathaaa non abstract methods untayeee ani....[/font][/color]
[color=#282828][font=helvetica, arial, sans-serif]so ee answer ki mana desi gallu OK kani telodu interview chesthy they may not consider this as correct answer ....[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]so assalu interface anteee [/font][/color][b]Behavior ni define chesedhi [/b][color=#282828][font=helvetica, arial, sans-serif]anteee sub-classes of interface should behave how interface define ......[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]OKA example chusthy ....[/font][/color]

[u][b]Interface.....[/b][/u]

[b]vehicle anedhi oka interface anukuntee [/b][color=#282828][font=helvetica, arial, sans-serif]...[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]ikkada vehicle antee edinaa kavachu like bus , car , motorcycle illaaa ... so vehicle define behavior only .........like every vehicle should move when apply accelator , should stop when apply break...... but vehicle anedhi does not implement accelerator or break functionality endhukanteeee CAR ki accelator and motorcycle ki accelator different gaa untundi (car ki down lo , motorcycle ki hand place lo ila ) .....so[/font][/color][b] vehicle aneee interface accelator undali ani cheputhundi kani aaa accelator ela untundi ani cheppadu ..... [/b]

[color=#282828][font=helvetica, arial, sans-serif]who ever [/font][/color][b]implements the interface [/b][color=#282828][font=helvetica, arial, sans-serif]should implement the interface .... anteee CAR class and MOTORCYCLE class should write accelator method appudee vatini manam vehicle ani pilustham .....[/font][/color]

[color=#FF0000][font=helvetica, arial, sans-serif][b]interface only define the behavior but not how the behavior implements ... sub-class of interface should implemente the behavior[/b][/font][/color]

[u][b]Abstract Class ....[/b][/u]

[b]abstract class anedhi oka level down to interface[/b][color=#282828][font=helvetica, arial, sans-serif] .... mana example lo Car thesukunteee adhi abstract class anukovachu ... becaz CAR can be furthur LUXURY CAR and NORMAL CAR ..... but both luxury and normal car lu koni same functaionality share chesukunayeee ... like [/font][/color][b]apply break[/b][color=#282828][font=helvetica, arial, sans-serif] annapudu 2 cars should STOP ... but accelator may be diferent like luxury cars can take the accelaration 0-60mph in 3 sec but normal car can take same speed in 10 sec .....[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]so ikkada [/font][/color][b]apply break (which is common for both luxurt and normal car) andhi normal method in interface ......[/b]
[b]apply accelerator anedhi abstract method becaz can be different for luxury car and normal car [/b][color=#282828][font=helvetica, arial, sans-serif]......[/font][/color]

[color=#FF0000][font=helvetica, arial, sans-serif][b]abstract[/b][b] class can implement common behavior and leave the the un-common behavior to its sub-classs to implement [/b][/font][/color]

Link to comment
Share on other sites

[quote name='HAPPYNESS' timestamp='1328895350' post='1301398445']
neenu Java fractice chestunna....

Web Logic App Server install chesa.. Tomcat laga deniki portal emi open avvada? Management activity cheyyadaniki [img]http://img511.imageshack.us/img511/9586/gunduue6.gif[/img]
[/quote]


mama .. inko interview question .... idhi chala imp

[url="http://www.andhrafriends.com/topic/258590-java-abstract-class-vs-interface/"]http://www.andhrafriends.com/topic/258590-java-abstract-class-vs-interface/[/url]

Link to comment
Share on other sites

[quote name='BENDU_APPARAO' timestamp='1328923603' post='1301400856']
[b]WAR anteee Web application Archive [/b].... simple gaaa webapplication .... indulooo HTML , images , JS lanti static content tho patu , JSP and Servlets untayeee ...... (Struts , JSF frameworks kuda internal gaaa servlets , JSP nee use chesthayee) ....WAR only lives in webserver or app server....

[b]JAR - Java Archive[/b] ... anteee set of java class file ni oka archive laa chesukoni mana application lo aaa classes ni re-use chesukontam like log4j jars ni thesukoni application logging ki vadukunatu.. anteee evadoo already rasinaa dhani mana application lo vadukuntee instead of manam malli same logic rasee badhuu ....so u r simple java application to web application or Enterprise application 99% depends on other JAR files to achive some functionality ...instead of same thing re-write

[b]inka EAR - Enterprise Archive files [/b]--- anteee oka enterprise application anna mata which contain WARs , JARS and EJB files(Ivvi kuda JAR laa neee chestham)....... EAR only lives in App server ..... (nee old question diff between web server and app server ni induloo chusukooo)


[b]inka OKKA mukka lo ivvi anni (WAR , JAR , EAR) anteee simple gaa ZIP files but with some rules (antee ee folder ilagee undali , ee folder lo eee file sure gaa undali ilaaa )[/b]
[/quote]
CITI_y@R CITI_y@R CITI_y@R

Link to comment
Share on other sites

[quote name='bujjulu' timestamp='1329192143' post='1301410133']
naa dhaggara nenu deals ki chesina war undhi
and
mysql db kuda undhi
kavalante isthanu

inka email war undhi
let me know if u need any wars, just to deploy and see
[/quote]
idedo bagundi baa..pampu chusta... email PM chesa chusko

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...