SOA and Cloud Computing: Architecture, Paradigms and Evolution
Service-Oriented Architecture (SOA) as a Technological Driver for Cloud Computing (10 Marks)
Service-Oriented Architecture (SOA) is a software design approach in which applications are built using independent, reusable services that communicate through standard interfaces.
Main Components of SOA:
Service Provider: Creates and offers a service.
Service Consumer: Requests and uses the service.
Service Registry: Stores information about available services.
Service Contract: Defines the interface, rules,
Firewalls, Antivirus, Encryption, Access Control and IDS in Secure Environments
Discuss Firewalls, Antivirus, Encryption, Access Control, and IDS in a Secure Environment (10 Marks)
A secure information environment protects data, devices, networks, and applications from unauthorised access, malware, theft, and disruption. Multiple layers of security are used because no single control can prevent every attack.
1. Firewalls
A firewall filters network traffic using security rules. It can restrict unauthorised connections, inspect connection state, support network segmentation, and
Read MoreSoftware Engineering Cheat Sheet: Time, Data Size & Complexity
Software Engineering Reference Cheat Sheet
Time Conversion
| Unit | Days | Hours | Minutes | Seconds (s) | Milliseconds (ms) | Microseconds (μs) | Nanoseconds (ns) |
|---|---|---|---|---|---|---|---|
| 1 Day | 1 | 24 | 1,440 | 86,400 | 86,400,000 | 86,400,000,000 | 86,400,000,000,000 |
| 1 Hour | 1/24 | 1 | 60 | 3,600 | 3,600,000 | 3,600,000,000 | 3,600,000,000,000 |
| 1 Minute | 1/1,440 | 1/60 | 1 | 60 | 60,000 | 60,000,000 | 60,000,000,000 |
| 1 Second | 1/86,400 | 1/3,600 | 1/60 | 1 | 1,000 | 1,000,000 | 1,000,000,000 |
| 1 Millisecond | 1/86,400,000 | 1/3,600,000 | 1/60,000 | 0.001 | 1 | 1,000 | 1,000,000 |
| 1 Microsecond | 1/86,400,000,000 | 1/3,600,000,000 | 1/60,000,000 | 0.000001 | 0.001 | 1 | 1, |
Java Classes, Inheritance, DOM, JSP and Animation Practicals
Practical 1: Program on Class and Object in Java
Practical 1: Program on Class and Object in Java
class Student {
String name;
int rollNo;
Student(String name, int rollNo) {
this.name = name;
this.rollNo = rollNo;
}
static void displayInfo(Student student) {
System.out.println(“Student Name: ” + student.name);
System.out.println(“Roll Number: ” + student.rollNo);
}
}
class Main {
public static void main(String[] args) {
Student student1 = new Student(
Read MoreJava OOP, File Handling & JSP Practicals Guide Code Examples
<%
String name = request.getParameter(“userName”);
String bdate = request.getParameter(“birthDate”);
String email = request.getParameter(“emailAddr”);
int lucky = Integer.parseInt(request.getParameter(“luckyNo”));
%>
User Information Summary
Name: <%= name %>
BirthDate: <%= bdate %>
EMail: <%= email %>
Lucky Number: <%= lucky %>
Java and JavaScript Lab Experiments: Classes, Inheritance, JSP and DOM
Experiment 1: Classes, Objects, Looping, and Branching in Java
Aim: To write a Java program demonstrating classes, objects, looping, and branching statements.
Code:
class Calculator {
int add(int a, int b) {
return a + b;
}
}
public class Exp1 {
public static void main(String[] args) {
Calculator calc = new Calculator();
// Branching (if-else)
int num = 10;
if (num > 0) {
System.out.println(num + ” is positive.”);
} else {
System.
