> Flow : Have to start from here 🔴Coding Login at Backend using JWT Authentication Spring Security | Spring Security | Examportal #13 Issues faced : 1. Infinite recursive json was recieved while posting user data to database. https://stackoverflow.com/questions/30892298/infinite-loop-with-spring-boot-in-a-one-to-many-relation 2. You can annotate with @Service an implementation and autowire the interface. Spring will check for any object implementing this interface.
è Spring interview questions Ø Marker interface : is the interface that doesn't has any constant or methods inside it. So it is a kind of meta data about the class which tells what extra the class will do. Example : Cloneable, serializable , repository in spring interfaces. Using this we can override clone method from object class. Ø Why we need marker interface? Coz it adds extra features , Ex: if we want to override clone method in above student class then it cant be done without implementing Cloneable interface, it will give cloneNotSupportException. è 5 most accuring annotations : Ø BeanCreationException: in case of circular dependency we get this exception . Ex A is dependent on B and vice versa so while creation of bean it will fail. Ø NoSuchBeanDefinationException : if the bean which is being autowired is not annotated with @Component / its bean is not instansiated in Spring container. Ø NoUniqueBeanDefinationsExc...
Introduction to Android Development Android is one of the most popular operating systems with over 88% of phones running android. XML & Java code An XML file is used to build layouts in Android. Layouts are static pages(screens) that can be manipulated using java code (programmatically) Declaring Vis in XML enables us to better separate the presentation of our application from the code that controls its behavior. Installing Android Studio Android Studio is an IDE that makes it easy for us to write and build android applications very conveniently we can create emulators (virtual android phones), see previews and build UI layouts using drop features You can go to https://develper. Android.com/studio to download android studio. The Layout Editor The layouts editor is used to quickly build layouts by dragging UI elements which is easier to write XML by hand. We can set up different attributes easily using the design mode in the layout editor. Chapter 1: Creating our first ...
Comments
Post a Comment