CompSci 335 notes

Spring framework

IoC

AOP

RMI + Distributed Objects

Web Services

Data Access

Transactions

lock set req read req write
none OK OK
read OK WAIT
write WAIT WAIT

Security

Spring MVC


C# Functional Programming

Intro

pointer function result
B => B B => D covariance in result type
D => D B => D contravariance in parameter type
D => B B => D contravariance in parameter type and covariance in result type
B => D B => B NOT safe
B => D D => D NOT safe
B => D D => B NOT safe

Data

Functional programming

Dynamic LINQ

function LINQ Dynamic LINQ
Where v.Where(x => x.Length == 3); v.AsQueryable().Where("Length == 3");
OrderBy ASC v.OrderBy(o => o.Price).ThenBy(o => o.OrderID); v.AsQueryable().OrderBy("Price, OrderID");
OrderBy DESC v.OderBy(o => o.Price).ThenBy(o => o.OrderID); v.AsQueryable().OrderBy("Price DESC, OrderID DESC");

Common Functionals

LINQ to SQL

XPath