Dcom3 BSA Asn2 Own Idea 2011.doc 23KB

tamerunΛογισμικό & κατασκευή λογ/κού

15 Αυγ 2012 (πριν από 4 χρόνια και 8 μήνες)

308 εμφανίσεις

Page
1

of
4

K. G
rabe

Feb 2010

DCom3 BSA Assignment 2 Feb 2011

Choose one of YOUR individual past Java assignments (in any subject).


1.

Re
-
factor it to demonstrate the following programming techniques:





(a)

Use tof dependency injection using an XML file.


Completed? Paste code extract he
re:


(b)

Allow three
behaviors

to be modified using dependency Injection


Completed? Paste code extract here:


(c)

Generic Method & Generic Class


Completed? Paste code extract here:


(d)

JSP custom tag (can be seperate program from (a...c)


Completed? Paste cod
e extract here:


(e)

Java Collections Framwork


use of 4 concrete classes


Completed? Paste code extract here:




(10marks ea, 50marks total)


2.

Use additional techniques and/or innovation/creativity.



(a)

(extra feature e.g. create your own collection type).


C
ompleted? Paste code extract here:

(b)

(extra feature ).


Completed? Paste code extract here:




(20marks)


3.

Documentation





L
ist of classes & methods developed



C
onclusion page: evaluation, problems encountered, do
-
differently etc.



F
ollow a coding standard
of your choice here's a fairly comprehensive one
(probably too detailed for this assignment but it may give you some pointers)


Completed?



(30marks)


Page
2

of
4

K. G
rabe

Feb 2010



How to Submit the assignment:


Please
Email
(no printouts please)

THIS document to the lecturer edited
by you to
show what was done and where. So change “
Completed? No | ...etc”

above and add code
and screen shots in the pages below to support.



Include a compressed file of the
entire IDE project
. Netbeans/Eclipse



Acceptable document formats: ODS, DOC,
DOCX, PDF, 7Z, ZIP, RAR, eclipse,
netbeans (others please ask).





Demo


Demo will be on the due date. You may be asked to make some changes to your
program on the day.




Page
3

of
4

K. G
rabe

Feb 2010

Screen Shots

Place your screen shots etc. here on the following page(s):

Page
4

of
4

K. G
rabe

Feb 2010

Source Code

Extracts

(full source code should be included in the complete project file enclosed with the email)

(a)

Code


(b)

Code


(c)

Code


(d)

Code.


(e)

Code



Extra features


a)

Code


b)

Code