https://www.fiverr.com/amanraj645/help-you-have-a-interactive-websites-that-can-be-super-good?gig_id=298195237&utm_campaign=base_gig_create_share&utm_content=&utm_medium=shared&utm_source=get_url&utm_term=&view=gig an end to end solution for your online shopping website
Fiverr.com
Amanraj645: I will help you have a interactive websites that can be super good for $405 on fiverr.com
For only $405, Amanraj645 will help you have a interactive websites that can be super good. | My last work project was buildingOrder Management Systemat [GaragePlug]. I have previously worked forTrujet Airlines.The brain fascinates me and you had me at Computationalβ¦
Spring :- its a framework
its a lightweight framework
its a procedure driven structure to write codes
frame work is of 2 types
invasive frameworks it asks you to implement or extend compulsory
non-invasive frameworks its not asking you to extend or implement the classes
in frameworks we work with JAR and WAR files sometimes we work with EAR
IOC :- INVERSION OF CONTROL transfer of traditional way to control of structure to seperate service provider(spring , hibernate)
IOC lifecycle :- initilization :- initialised and configured
binding :- components registration with container & can specify interfaces
resolution :- addition of needed dependencies
invocation :- calling of specific method
destruction :- destroyed
singleton class :- only one instance of object will be created
why singleton class ? to provide global access to Object
class must be private
constructor must be private
static variables will be of same type
public static methods must return instance of class
Dependency injection :- a class recieves instance of object that depends upon external source
it makes our code easier to maintain test
common code
constructor based :- as a parameter of constructor , it will provide data whenever it instance is created.....
setter based :- dependent object is provided in class through setter methods , this is useful when dependency is OPTIONAl , it will provide data whenever it instance is created.....
interface based :- defined some methods that must be implemented by dependent objects , when class needs decoupled form of objects , allowing it into different implementations of dependent objects....
autowiring based : implicitly dependecies injection ,it will not work on primitive data types or string values it will only on object refrence.....
Bean configuration
Xml :- its most common whatever bean classes we have it contains all definitions of bean classes
java :- its a pure java class @Bean annotation we will be xml files
annotation :- we will not be writing xml but we have pom.xml
groovy based :- in this beans are configured with groovy language its same as java based config
AspectJ based :- Aspect Oriented Programming(AOP)
autowiring
controller
restcontroller
requestparam
pathvariable
@Qualifier it is used to give additional info about var , methods or class
it can define which class to be used when resolving DI , to denote which method to be override & to provide additional metadata about method or class
it can aslo be used to indicate which param should be used in constructor or method
@Configuration:- to define bean definitions in application context
it is used to define beans & their properties as part of spring framework
@value :- inject literal values into fields , methods & constructors, it is used to inject values in properties.
@Required :- it is used to indicate the presence of dependency , it is used to indicate bean property must be config in bean config file or not
@Controller :- it is use on a class that provides web interfaces , it is used to denote a class with controller , it will automatically detect that this work should be done by spring framework Component scan& managed as bean
@RequestMapping
@Service :- we will be providing buisness logic
@Repository :- it is used to define interface as repository , it is used to mark class as DAO ,it is used in combination with other annotations such as srvice or component
consists of four components : Model, View, Controller, and Front Controller. There are four main layers in Spring Boot: Presentation Layer, Data Access Layer, Service Layer, and Integration Layer.
its a lightweight framework
its a procedure driven structure to write codes
frame work is of 2 types
invasive frameworks it asks you to implement or extend compulsory
non-invasive frameworks its not asking you to extend or implement the classes
in frameworks we work with JAR and WAR files sometimes we work with EAR
IOC :- INVERSION OF CONTROL transfer of traditional way to control of structure to seperate service provider(spring , hibernate)
IOC lifecycle :- initilization :- initialised and configured
binding :- components registration with container & can specify interfaces
resolution :- addition of needed dependencies
invocation :- calling of specific method
destruction :- destroyed
singleton class :- only one instance of object will be created
why singleton class ? to provide global access to Object
class must be private
constructor must be private
static variables will be of same type
public static methods must return instance of class
Dependency injection :- a class recieves instance of object that depends upon external source
it makes our code easier to maintain test
common code
constructor based :- as a parameter of constructor , it will provide data whenever it instance is created.....
setter based :- dependent object is provided in class through setter methods , this is useful when dependency is OPTIONAl , it will provide data whenever it instance is created.....
interface based :- defined some methods that must be implemented by dependent objects , when class needs decoupled form of objects , allowing it into different implementations of dependent objects....
autowiring based : implicitly dependecies injection ,it will not work on primitive data types or string values it will only on object refrence.....
Bean configuration
Xml :- its most common whatever bean classes we have it contains all definitions of bean classes
java :- its a pure java class @Bean annotation we will be xml files
annotation :- we will not be writing xml but we have pom.xml
groovy based :- in this beans are configured with groovy language its same as java based config
AspectJ based :- Aspect Oriented Programming(AOP)
autowiring
controller
restcontroller
requestparam
pathvariable
@Qualifier it is used to give additional info about var , methods or class
it can define which class to be used when resolving DI , to denote which method to be override & to provide additional metadata about method or class
it can aslo be used to indicate which param should be used in constructor or method
@Configuration:- to define bean definitions in application context
it is used to define beans & their properties as part of spring framework
@value :- inject literal values into fields , methods & constructors, it is used to inject values in properties.
@Required :- it is used to indicate the presence of dependency , it is used to indicate bean property must be config in bean config file or not
@Controller :- it is use on a class that provides web interfaces , it is used to denote a class with controller , it will automatically detect that this work should be done by spring framework Component scan& managed as bean
@RequestMapping
@Service :- we will be providing buisness logic
@Repository :- it is used to define interface as repository , it is used to mark class as DAO ,it is used in combination with other annotations such as srvice or component
consists of four components : Model, View, Controller, and Front Controller. There are four main layers in Spring Boot: Presentation Layer, Data Access Layer, Service Layer, and Integration Layer.
π1
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTextArea;
import javax.swing.JTextField;
class Chatbot extends JFrame {
/**
*
*/
private static final long serialVersionUID = 1L;
private JTextArea ca= new JTextArea();
private JTextField cf=new JTextField();
private JButton b=new JButton();
private JLabel l=new JLabel();
Chatbot(){ // Layout and Properties defined in Constructer
JFrame f=new JFrame();
f.setDefaultCloseOperation(EXIT_ON_CLOSE);
f.setVisible(true);
f.setResizable(false);
f.setLayout(null);
f.setSize(400,400);
f.getContentPane().setBackground(Color.cyan);
f.setTitle("ChatBot");
f.add(ca);
f.add(cf);
ca.setSize(300,310);
ca.setLocation(1, 1);
ca.setBackground(Color.BLACK);
cf.setSize(300,20);
cf.setLocation(1,320);
f.add(b);
l.setText("SEND");
b.add(l);
b.setSize(400,20);
b.setLocation(300,320);
b.addActionListener( new ActionListener() {
public void actionPerformed(ActionEvent e) {
if(e.getSource()==b) { // Message sents on Click button
String text=cf.getText().toLowerCase();
ca.setForeground(Color.GREEN);
ca.append("You-->"+text+"\n");
cf.setText("");
if(text.contains("hi")) { // input Checking
replyMeth("Hi there");
}
else if(text.contains("how are you")) {
replyMeth("I'm Good :).Thankyou for asking");
}
else if(text.contains("what is your name")) {
replyMeth("I'm the Trending BINOD");
}
else if(text.contains("gender")) {
replyMeth("I'm Female.Don't Try to Flirt with me"+"\n"+"you Fell in love :)");
}
else if(text.contains("love you")) {
replyMeth("I'm Feeling Shy :) Love you to");
}
else if(text.contains("bye")) {
replyMeth("Too Soon :( AnyWays"+"\n"+"STAY HOME STAY SAFE ");
}
else
replyMeth("I Can't Understand");
}
}
});
}
public void replyMeth(String s) { // Reply Method
ca.append("ChatBot-->"+s+"\n");
}
}
public class CHATBOTSROOM { //Driver Class
public static void main(String[] args) { //main class
new Chatbot(); // instantiation
}
}
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTextArea;
import javax.swing.JTextField;
class Chatbot extends JFrame {
/**
*
*/
private static final long serialVersionUID = 1L;
private JTextArea ca= new JTextArea();
private JTextField cf=new JTextField();
private JButton b=new JButton();
private JLabel l=new JLabel();
Chatbot(){ // Layout and Properties defined in Constructer
JFrame f=new JFrame();
f.setDefaultCloseOperation(EXIT_ON_CLOSE);
f.setVisible(true);
f.setResizable(false);
f.setLayout(null);
f.setSize(400,400);
f.getContentPane().setBackground(Color.cyan);
f.setTitle("ChatBot");
f.add(ca);
f.add(cf);
ca.setSize(300,310);
ca.setLocation(1, 1);
ca.setBackground(Color.BLACK);
cf.setSize(300,20);
cf.setLocation(1,320);
f.add(b);
l.setText("SEND");
b.add(l);
b.setSize(400,20);
b.setLocation(300,320);
b.addActionListener( new ActionListener() {
public void actionPerformed(ActionEvent e) {
if(e.getSource()==b) { // Message sents on Click button
String text=cf.getText().toLowerCase();
ca.setForeground(Color.GREEN);
ca.append("You-->"+text+"\n");
cf.setText("");
if(text.contains("hi")) { // input Checking
replyMeth("Hi there");
}
else if(text.contains("how are you")) {
replyMeth("I'm Good :).Thankyou for asking");
}
else if(text.contains("what is your name")) {
replyMeth("I'm the Trending BINOD");
}
else if(text.contains("gender")) {
replyMeth("I'm Female.Don't Try to Flirt with me"+"\n"+"you Fell in love :)");
}
else if(text.contains("love you")) {
replyMeth("I'm Feeling Shy :) Love you to");
}
else if(text.contains("bye")) {
replyMeth("Too Soon :( AnyWays"+"\n"+"STAY HOME STAY SAFE ");
}
else
replyMeth("I Can't Understand");
}
}
});
}
public void replyMeth(String s) { // Reply Method
ca.append("ChatBot-->"+s+"\n");
}
}
public class CHATBOTSROOM { //Driver Class
public static void main(String[] args) { //main class
new Chatbot(); // instantiation
}
}
π1
Java Hyd Team
Spring :- its a framework its a lightweight framework its a procedure driven structure to write codes frame work is of 2 types invasive frameworks it asks you to implement or extend compulsory non-invasive frameworks its not asking youβ¦
I hope this live session clarifies your spring π hope you enjoyed this interactive session soon in this week we will cover end to end FullStack webapp development including deployment on a server hosting , and connecting to a domain name π ππ we will make you capable of building a good amount of income generating machine
Just be consistent with me ππ getting a job is tough making money is easy