Course Outline-Introduction to Java Programming-Lecture Slides, Slides of Java Programming

This is an Introductory course of Java Web Programming focusing on writing maintainable extensible code, methods of debugging, logging and profiling. The Java Technology used is J2EE an Enterprise Application Development tool. This lecture includes: Java, Programming, Outline, Course, Sample, Extensible, Code, Documentation, Formatting, Style, Naming

Typology: Slides

2011/2012

Uploaded on 08/09/2012

dhanyaa
dhanyaa 🇮🇳

4.7

(3)

60 documents

1 / 21

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
9/17/2010
1
Advanced Java Programming
Lecture-01-Course Outline
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15

Partial preview of the text

Download Course Outline-Introduction to Java Programming-Lecture Slides and more Slides Java Programming in PDF only on Docsity!

Advanced Java Programming

Lecture-01-Course Outline

docsity.com

Agenda

` Course details

` Writing maintainable code

` Assignment 01

2 cs420 Fall 2010

docsity.com

Course details

` Lectures & Handouts

` Will be available online

` Office hours:

` Usually one (1) hour after the lecture

4 cs420 Fall 2010

docsity.com

Grading policy (Tentative)

` A i t 10%

` Assignments

` Assignments : 10%

` Quizzes: 10%

` Course Project: 10%

` OHTs 30%

` End-term: 40%

Individual No late submission Quizzes Mostly unannounced `` Occasionally announcedOccasionally announced ` Most of the Lab assignments will be marked as quiz after viva

5 cs420 Fall 2010

docsity.com

Course outline

  1. How to write a maintainable/extensible code 2 2. Java GenericsJava Generics
  2. Concept of Reflection
  3. Code debugging, Logging & Profiling tools (log4J)
  4. J2EE Overview & Web Application Architecture
  5. Servlets & JSP Basics
  6. Java Beans
  7. Java tags, JSTL
  8. Java Hibernate
  9. Struts or JSF overview
  10. Spring Framework
    1. Presentation Tier Design Patterns 2 Business Tier Design Patterns

7 cs420 Fall 2010

  1. Business Tier Design Patterns
  2. Integration Tier Design Patterns
  3. Crosscutting Tier Design Patterns

docsity.com

TOOLs & TECHNOLOGY

OS: LINUX (UBUNTU, Redhat etc)

IDE: NETBEANS 6.9.X

API: J2EE 5.X.X, J2SDK6.X.X

Documentation: J2EE and J2SDK

Framework: STURTS, JSF, SPRING & Hybernate

Basics: JSP, Servlets, Beans, JSP, JSP Tag lib,

Custom tagsCustom tags

cs420 Fall 2010

docsity.com

Lets begin!g

docsity.com

What is maintainable/extensible code?

` Can it be taught?

` Clichés are true; the trick is to know when to bend the

rules!

docsity.com

Why do we write un-maintainable

code?

Article: The Rise of ``Worse is Better''

http://www.jwz.org/doc/worse-is-better.html

` Laziness

` Use all the tools in the box

` Inexperience ~ haven’t extended a programp p g

` Indifference ~ Elitism

` My method is the best

` Others should not be able to understand!

` Job security

13 cs420 Fall 2010

y

` …

docsity.com

Why should we write maintainable

code?

` Clear code almost always results in reliable code

(functionality & security)

` “…except for very rare instances, the lifetime cost

of code written to be maintainable from the start will

always be less than the cost of code written with little

or no thought to maintainability”

http://www.svalli.com/book.html

14 cs420 Fall 2010

docsity.com

Documentation

` Too little - too much

` Useful comments

` Keep your comments short

`` Spell checkSpell check

` How serious one is about comments

` If there are questions about the code, comments

need to be improved

16 cs420 Fall 2010

docsity.com

Code formatting

` Use consistent formatting

` Tabs vs Spaces

Always use spaces Set your IDE to replace TABS with spacesy

` Follow the convention

17 cs420 Fall 2010

docsity.com

Remember!!!

Any violation of the convention is allowed if

it enhances readabilityy

docsity.com

Naming

` Packages should always be named in small

letters

` mypackage, com.company.application.ui

` Names representing types must be nouns and

written in mixed case starting with upper caseg pp ` Line, AudioSystem

` Variable names must be in mixed case starting

with lower case ` line, audioSystem

20 cs420 Fall 2010

` line, audioSystem

docsity.com