multi-threaded java is everywhere

Q: In what areas must you deal with multi-threading? ranking in terms of importance
* swing is multi-threaded@@ I think so since GUI is inherently multi-threaded
* To exploit multi-processor. eg: Mansion’s T2 — 1 processor, 8 core, 32 native kernel threads
* Every java IO system

# eor
* applets are often multi-threaded@@
* Hibernate@@ I think so because each database transaction (a unit-of-work) maps to a session and a thread. See other posts
* XP: NextGen is multi-threaded
* Every servlet/JSP is by default multi-threaded
* Most database-backed java applications are multi-threaded. Every DB-connection is often used by a single thread. A db-transaction is associated with a connnection.
* I think most online transaction systems are multi-threaded, but how about before java?

Personal observations on the above scenarios:
#1 common characteristic: each thread is basically a call stack
But these threads don’t always share a lot of data
Not much deadlock worry


Fill in your details below or click an icon to log in: 徽标

您正在使用您的 账号评论。 登出 /  更改 )

Google photo

您正在使用您的 Google 账号评论。 登出 /  更改 )

Twitter picture

您正在使用您的 Twitter 账号评论。 登出 /  更改 )

Facebook photo

您正在使用您的 Facebook 账号评论。 登出 /  更改 )

Connecting to %s