Jump to content

Tech learning roadmaps…


dasari4kntr

Recommended Posts

11 minutes ago, Hindhustani said:

@ramudu  @dasari4kntr @csrcsr have you ever written any custom Java annotation.. if so question 

Manily to write annotations we use Java reflection and access everything which is loaded In JVM , then what is the point of access specificers ? Like private public etc 

first both are different 

1) Access modifiers allow you to write better OOP programming and restrict your program logic access to external code (like out side your class or your project when you share code as jar) ,  in OOPs we called data hiding or Abstraction 

 

reflection is not general programming approach , consider  it is special handling not regular programming , 99% time you won't write reflection in your business logic , this will be used to provide metadata or manupulate programms at runtime 

Link to comment
Share on other sites

11 minutes ago, Hindhustani said:

@ramudu  @dasari4kntr @csrcsr have you ever written any custom Java annotation.. if so question 

Manily to write annotations we use Java reflection and access everything which is loaded In JVM , then what is the point of access specificers ? Like private public etc 

public ee vuntundi kada bro....

nenu eppudu custom annotation create cheyyaledhu...

but if you open the source of spring boot annonations..you would notice..

 

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@SpringBootConfiguration
@EnableAutoConfiguration
@ComponentScan(
    excludeFilters = {@Filter(
    type = FilterType.CUSTOM,
    classes = {TypeExcludeFilter.class}
), @Filter(
    type = FilterType.CUSTOM,
    classes = {AutoConfigurationExcludeFilter.class}
)}
)
public @interface SpringBootApplication {
    @AliasFor(
        annotation = EnableAutoConfiguration.class
    )
    Class<?>[] exclude() default {};

    @AliasFor(
        annotation = EnableAutoConfiguration.class
    )
    String[] excludeName() default {};

    @AliasFor(
        annotation = ComponentScan.class,
        attribute = "basePackages"
    )
    String[] scanBasePackages() default {};

    @AliasFor(
        annotation = ComponentScan.class,
        attribute = "basePackageClasses"
    )
    Class<?>[] scanBasePackageClasses() default {};

    @AliasFor(
        annotation = ComponentScan.class,
        attribute = "nameGenerator"
    )
    Class<? extends BeanNameGenerator> nameGenerator() default BeanNameGenerator.class;

    @AliasFor(
        annotation = Configuration.class
    )
    boolean *****BeanMethods() default true;
}

 

@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Bean {
    @AliasFor("name")
    String[] value() default {};

    @AliasFor("value")
    String[] name() default {};

    /** @deprecated */
    @Deprecated
    Autowire autowire() default Autowire.NO;

    boolean autowireCandidate() default true;

    String initMethod() default "";

    String destroyMethod() default "(inferred)";
}

 

  • Upvote 1
Link to comment
Share on other sites

7 minutes ago, ramudu said:

first both are different 

1) Access modifiers allow you to write better OOP programming and restrict your program logic access to external code (like out side your class or your project when you share code as jar) ,  in OOPs we called data hiding or Abstraction 

 

reflection is not general programming approach , consider  it is special handling not regular programming , 99% time you won't write reflection in your business logic , this will be used to provide metadata or manupulate programms at runtime 

Also , if you want stop reflection it is little hard but you can achive in multiple ways like , in yourJRE  lib / security folder there is a securitypolicy file , you can add permissions to stop it , or if you are distributing jar , you can use programatic way to control Reflection , inka advanced kavali anukuneee use bytecode obfuscators (chala untayi market lo)  

  • Upvote 1
Link to comment
Share on other sites

9 minutes ago, ramudu said:

Also , if you want stop reflection it is little hard but you can achive in multiple ways like , in yourJRE  lib / security folder there is a securitypolicy file , you can add permissions to stop it , or if you are distributing jar , you can use programatic way to control Reflection , inka advanced kavali anukuneee use bytecode obfuscators (chala untayi market lo)  

Bro @ramudu @dasari4kntr just to learn Any of instresting tech problems you learn or solved , let me know. 

Link to comment
Share on other sites

2 hours ago, Hindhustani said:

Bro @ramudu @dasari4kntr just to learn Any of instresting tech problems you learn or solved , let me know. 

bro…nenu antha expert kaadu….but i wont stop learning….even though some of the topics i dint know but i keep participate to learn…

my approach of learning is find some  public available open data create services out of it

or find some open api and build ui on top of it…

or take cloud free tier and build infra and deploy those ui or services..etc

learn by doing…

  • Upvote 1
Link to comment
Share on other sites

Asal technical ga strong avali ante etla bro ? Chala confusing ga anipisthadi okkosari nakem rademo ane feeling kuda vasthadi naku😕😕survive aithe aithuna last 10 years nundi but not strong ani na feeling 😔😔

Link to comment
Share on other sites

44 minutes ago, BReBeL said:

Asal technical ga strong avali ante etla bro ? Chala confusing ga anipisthadi okkosari nakem rademo ane feeling kuda vasthadi naku😕😕survive aithe aithuna last 10 years nundi but not strong ani na feeling 😔😔

evvariki teliyadu bro…okataa rendaa…rojuki konni vandala libraries release avtuntayi…ippudu latest gaa AI…

manaki nachhina area lo explore chesukuntoo povadame…

after all our jobs are relying in it…

  • Upvote 1
Link to comment
Share on other sites

11 minutes ago, dasari4kntr said:

evvariki teliyadu bro…okataa rendaa…rojuki konni vandala libraries release avtuntayi…ippudu latest gaa AI…

manaki nachhina area lo explore chesukuntoo povadame…

after all our jobs are relying in it…

Na problem ekkada start cheyalo telvatle bro ..ikkada masters chesi fake petti job kotti 10yrs nundi chesthu asal tirigi chusthe em le job survival tappa 🙄🙄

  • Upvote 1
Link to comment
Share on other sites

5 minutes ago, BReBeL said:

Na problem ekkada start cheyalo telvatle bro ..ikkada masters chesi fake petti job kotti 10yrs nundi chesthu asal tirigi chusthe em le job survival tappa 🙄🙄

10yrs nunchi job ante...emi lekunda cheyyatledhu kada bro..

start where you are strong....first one year...antha...confusing gaa vuntayi..all technical jargons...then next year...you will become pro in that...

  • Thanks 1
Link to comment
Share on other sites

43 minutes ago, dasari4kntr said:

10yrs nunchi job ante...emi lekunda cheyyatledhu kada bro..

start where you are strong....first one year...antha...confusing gaa vuntayi..all technical jargons...then next year...you will become pro in that...

Thanks bro i will start learning 🙌🏻

  • Upvote 1
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...