0% found this document useful (0 votes)
12 views

New Text Document

Uploaded by

Nihal Noushad
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

New Text Document

Uploaded by

Nihal Noushad
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

Building Microservices REST APIs Using Spring Data REST

Course Overview
Getting Started
Mastering Microservices Architecture
Exposing Microservices REST APIs
Implementing Paging & Sorting
Implementing Custom Search APIs
Leveraging Complex Relationships
Testing Microservices REST APIs
Documenting Microservices REST APIs

Spring Framework: Creating Your First Spring Boot Application

Using Spring Boot to Create Applications


Building Apps with Spring Boot
Working with Spring Boot Config and Environment Needs
Deploying Spring Boot Applications

Maven Fundamentals

Course Overview
Introduction to Maven
Structure
Dependencies
Repositories
Plugins
IDE Integration

GitHub: Getting Started

Course Overview
An Overview of Git and GitHub
Getting Started with GitHub
Working with Repositories
Collaborating Using the GitHub Flow
Tracking Issues and Creating Releases
Creating a GitHub Wiki
Working with Social Features

Getting Started Unit Testing with JUnit 5

Course Overview
Writing Your First Test
Writing More Complex Tests
Making Existing Code Testable
Writing Tests First
Expanding Your Knowledge
Java Microservices with Spring Cloud: Developing Services

Course Overview
Introduction to Microservices, Spring Boot, and Spring Cloud
Simplifying Environment Management with Centralized Configuration
Offloading Asynchronous Activities with Lightweight, Short-lived Tasks
Securing Your Microservices with a Declarative Model
Chasing Down Performance Issues Using Distributed Tracing

Oracle PL/SQL Fundamentals - Part 1

Course Introduction
Anonymous Blocks
PL/SQL Commonly Used Datatypes
Loops
Conditional Execution
Cursors
Exceptions
Debugging

public static void main(String[] args) {

Map m1 = new HashMap();

try (BufferedReader br = new BufferedReader(new FileReader("Example.txt")))


{
StringBuilder sb = new StringBuilder();
String line = br.readLine();

while (line != null) {


String[] words = line.split(" ");
for (int i = 0; i < words.length; i++) {
if (m1.get(words[i]) == null) {
m1.put(words[i], 1);
} else {
int newValue =
Integer.valueOf(String.valueOf(m1.get(words[i])));
newValue++;
m1.put(words[i], newValue);
}
}
sb.append(System.lineSeparator());
line = br.readLine();
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Map<String, String> sorted = new TreeMap<String, String>(m1);
for (Object key : sorted.keySet()) {
System.out.println("Word: " + key + "\nCounts: " + m1.get(key));
}
}

@Override
public Task editTask(Integer task_id, Task task) {
taskRepo.save(task);
return taskRepo.findById(task_id).get();
}

Task task =null;


task = taskRepo.findById(id).get();

@Override
public Task getTaskById(Integer id) {
return taskRepo.getById(id);
}

@PutMapping("/edit-task?user_id={role_id}&task_id={task_id}")
public ResponseEntity<Task> editTask(@PathVariable() Integer task_id, Task
task) {
return new ResponseEntity<>(taskService.editTask(task_id, task),
HttpStatus.OK);

@DeleteMapping("/delete-task?user_id={role_id}&task_id={task_id}")
public ResponseEntity<String> deleteTask(@PathVariable("task_id") Integer
task_id) {
taskService.deleteTask(task_id);
return new ResponseEntity<String>("Successfully Deleted the Task" +
task_id, HttpStatus.OK);
}

You might also like