I hopped into my next session TS-6623 (More "Effective Java") which was totally packed. By the time I got in (given that I am a Sun employee and get the last opportunity to attend a session), the session had already started and Joshua was at the end of his Generics - the wildcard usage and largely concentrated on Enum this year. His session is always thought provoking and to me most of it I get better only after stepping out and reviewing his presentation. My notes for the session are at the bottom.
Had a quick lunch and got back to the Pavilion. Visited couple of booths of which noteworthy was Spring Source where I could not get all the information I needed in what Spring Source is about and will have to revisit.
Took off for a TS-5870 session (JBI and SCA best of both worlds). Again by the time I got in the session was already on and based on the content my understanding was the presenters were from Apache Tuscany and ServiceMix contributors. It was good to see some one putting together the complimentarty technologies which are largely misunderstood to be competitive specs. The presentations was more XML based and I happen to capture some notes below under corresponding TS number section.
My next stop was at TS-5921 (Glassfish v3 - an extensible modular platform). The session was very interesting to know the directions the GF is headed towards and how OSGi is reshaping the technology world. GF v3 is being built upon OSGi while also keeping its HK2 modular framework which was pre-built and going forward would sit on OSGi. Other highlights included the 2MB footprint and lazy initialization of containers eg: web containers are used only when needed. The interesting gap here in was the management of all these modular components. Some notes at available under corresponding TS number section.
The next session was TS-5711(jMonkeyEngine and gaming in Java) which was more out of curiosity. Some notes are available under corresponding TS number section.
After which I got into BOF-5150 (Event Driven SOA in Java using OSGi and Spring). I personally did not find it very interesting since the perspective with which I went for the session was to learn about ED using OSGi and Spring. It so happened the content was more on BEA products. At the point they started talking of JRockit I decided to quit since the subject was very diferent from the presentation. I hopped into BOF-5552 (Java Platform Observability by ByteCode instrumentation). This happened to be very interesting in how you could use bTrace utils annotations to debug code at byte level. Some notes are available under corresponding TS number section.
---TS - 4992 Funambol: JavaME & open src messaging client -----------------------
Funambol SDK - Java ME
NOT WORTH
JSR 75:
toSerialFormat - to set VCard info
fromSerialFormat - to read contact info
SyncML
Push EMail:
SMS and TCP based
ME platform
email on mass market handsets including black berry
Impl:
- Using SMS - app registers with PushTRegistry for incoming SMS
- Using Socket -
- CTP: app manages socket open to CTP server that uses it for sending notifications
- STP: app starts server socket and waits for server notifications
IP natting, proxies
- Socket * STP
------------------------------------------------------------------------------
---- TS - 6623 More Effective Java -----------------------------------------------
Wildcard usage, follow the rule:
PECS: Producer extends, Consumer Super
Dont use wildcard types as return types
1) void pushAll(Collection
void popAll(Collection
void pushAll (Collection src);
src is an E producer
void popAll(Collection dst);
user canpush ALl from a Collection
user can popAll into a Collecton
No comments:
Post a Comment