Java Hyd Team
HCL Tech is hiring for Developer Role: Developer Passout year: 2022 and before Experience: Freshers Location: Pune Qualification: BE/ B.Tech Salary: ₹ 4.5 Lakh per year Apply Now: https://www.hcltech.com/jobs/developer-5
Don't apply now there is a bug in form soon it will be fixed
Microsoft is hiring for Research Intern
Role: Research Intern
Passout year: 2023/2024/2025
Qualification: BE/B.Tech/ME/M.Tech/MCA/MSC
Salary: 60k - 70k per month
Location: Benguluru
Apply Now: https://careers.microsoft.com/us/en/job/1491041/
Role: Research Intern
Passout year: 2023/2024/2025
Qualification: BE/B.Tech/ME/M.Tech/MCA/MSC
Salary: 60k - 70k per month
Location: Benguluru
Apply Now: https://careers.microsoft.com/us/en/job/1491041/
The @Qualifier annotation in Spring is used to differentiate a bean among the same type of bean objects.
If we have more than one bean of the same type and want to wire only one of them then use the @Qualifier annotation along with @Autowired to specify which exact bean will be wired.
If we don't use this annotation in the given project then we get an error like:
Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type
If we have more than one bean of the same type and want to wire only one of them then use the @Qualifier annotation along with @Autowired to specify which exact bean will be wired.
If we don't use this annotation in the given project then we get an error like:
Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type
The @Required annotation applies to bean property setter methods and it indicates that the affected bean property must be populated in XML configuration file at configuration time. Otherwise, the container throws a BeanInitializationException exception
import org.springframework.context.annotation.*;
@Configuration
public class HelloWorldConfig {
@Bean
public HelloWorld helloWorld(){
return new HelloWorld();
}
}
@Configuration
public class HelloWorldConfig {
@Bean
public HelloWorld helloWorld(){
return new HelloWorld();
}
}
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
let obj1=[{prectype:"none",timepoint:3,cloudcover:9,seeing:6,transparency:3,liftedindex:2,rhm2:6,wind10m:"direction",speed:2,temp2m:27},
{prectype:"none",timepoint:6,cloudcover:8,seeing:6,transparency:3,liftedindex:2,rhm2:5,wind10m:"direction",speed:2,temp2m:29},
{prectype:"none",timepoint:9,cloudcover:8,seeing:6,transparency:3,liftedindex:2,rhm2:5,wind10m:"direction",speed:2,temp2m:29},
{prectype:"none",timepoint:12,cloudcover:9,seeing:6,transparency:3,liftedindex:2,rhm2:6,wind10m:"direction",speed:2,temp2m:28}
];
document.write(`<table border="1"
align="center"
cellpadding="3">
<tr>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>5</th>
<th>6</th>
<th>7</th>
<th>8</th>
<th>9</th>
<th>10</th>
</tr>`);
obj1.forEach(function(element,index) {
document.write(`
<tr>
<td>${element.prectype}</td>
<td>${element.timepoint}</td>
<td>${element.cloudcover}</td>
<td>${element.seeing}</td>
<td>${element.transparency}</td>
<td>${element.liftedindex}</td>
<td>${element.rhm2}</td>
<td>${element.wind10m}</td>
<td>${element.speed}</td>
<td>${element.temp2m}</td>
</tr>
`);
});
document.write(
</script>
</body>
</html>
<html>
<head>
</head>
<body>
<script>
let obj1=[{prectype:"none",timepoint:3,cloudcover:9,seeing:6,transparency:3,liftedindex:2,rhm2:6,wind10m:"direction",speed:2,temp2m:27},
{prectype:"none",timepoint:6,cloudcover:8,seeing:6,transparency:3,liftedindex:2,rhm2:5,wind10m:"direction",speed:2,temp2m:29},
{prectype:"none",timepoint:9,cloudcover:8,seeing:6,transparency:3,liftedindex:2,rhm2:5,wind10m:"direction",speed:2,temp2m:29},
{prectype:"none",timepoint:12,cloudcover:9,seeing:6,transparency:3,liftedindex:2,rhm2:6,wind10m:"direction",speed:2,temp2m:28}
];
document.write(`<table border="1"
align="center"
cellpadding="3">
<tr>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>5</th>
<th>6</th>
<th>7</th>
<th>8</th>
<th>9</th>
<th>10</th>
</tr>`);
obj1.forEach(function(element,index) {
document.write(`
<tr>
<td>${element.prectype}</td>
<td>${element.timepoint}</td>
<td>${element.cloudcover}</td>
<td>${element.seeing}</td>
<td>${element.transparency}</td>
<td>${element.liftedindex}</td>
<td>${element.rhm2}</td>
<td>${element.wind10m}</td>
<td>${element.speed}</td>
<td>${element.temp2m}</td>
</tr>
`);
});
document.write(
</table>);</script>
</body>
</html>
👍1