-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path07-solutions.html
57 lines (54 loc) · 2.9 KB
/
07-solutions.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html>
<head>
<title>AIP Week 7: Naming (JNDI) and dependency injection (CDI)</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link href="resources/normalize.css" rel="stylesheet" />
<link href="resources/stylize.css" rel="stylesheet" />
</head>
<body>
<div class="menu">
<ul>
<li><a href="https://online.uts.edu.au/">UTS Online</a></li>
<li class="title">/</li>
<li><a href="index.html">Learning</a></li>
<li class="title">/</li>
<li class="title">Week 7</li>
</ul>
<ul>
<li><a href="07.html">Study</a></li>
<li><a href="07-practice.html">Practice</a></li>
<li><a href="07-challenge.html">Challenge</a></li>
<li class="title">Solutions</li>
</ul>
</div>
<div class="container">
<h1>Naming (JNDI) and dependency injection (CDI)</h1>
<p><i>Practice for Week 7: 12 September</i></p>
<div class="section">
<input id="sec1" type="checkbox" autocomplete="off" />
<label for="sec1"><h2>Practice Problems</h2></label>
<div class="content">
<div class="download"><a href="07/Week7.zip"><img src="resources/zip.png" />Week7.zip</a></div>
<p>I've attached a zipped NetBeans project that contains all the worked exercises combined into a single project.</p>
<p>I encourage you to attempt the problems yourself before "peeking" at the solutions.</p>
<p>The solutions I've provided are just one of many possible ways to achieve the same effect.
If your code is different, but still works, it doesn't necessarily mean that you are "wrong".
In fact, your solution may be better than the ones that I have provided.
I suggest looking at the differences and understanding why you and I have made different design choices.</p>
<p>I've added an index.html page that will take you to each of the solutions (you can see it by just clicking the run button [green triangle] in NetBeans).</p>
</div>
</div> <div class="section">
<input id="sec2" type="checkbox" autocomplete="off" />
<label for="sec2"><h2>Challenge Problem</h2></label>
<div class="content">
<div class="download"><a href="07/Week7-challenge.zip"><img src="resources/zip.png" />Week7-challenge.zip</a></div>
<p>I've attached one possible solution to the challenge problem.
It is a zipped NetBeans project folder.</p>
<p>If you found a clever solution to some part of the challenge or if you have any questions, you are welcome to discuss it on the "Discussion Board" or in the next Lab session.</p>
</div>
</div>
</div>
</body>
</html>