Java streams

3 views
Skip to first unread message

Rajnish Kamboj

unread,
Sep 24, 2007, 1:05:07 AM9/24/07
to technical-...@googlegroups.com
Hello all

I have some problem in working with java streams..
Could anyone tell me regarding blocking of streams while reading or writing data from them
Also i need to know how to work with non blocking streams...

--
Rajnish kamboj
Mob: +91-9899401145, +91-9971692473

[ Smile a lot, it costs nothing :) ]

sharma....@gmail.com

unread,
Oct 4, 2007, 1:37:54 AM10/4/07
to Technical Discussion
Hi

For using the non-blocking streams you should use NIO Java API, it
uses channels(non-blocking) rather than streams(blocking) for reading
and writing bytes.

IO API uses streams for both read and write operations , the
particular thread that is going to read will be block till the data is
available. this is the concept of blocking streams

but NIO API uses Channels , which reads bytes asynchrounously means
non-blocking mode.

sarthak mishra

unread,
Dec 10, 2007, 6:12:39 AM12/10/07
to technical-...@googlegroups.com
Hi Friends,

Have someone ever generated mappings of hibernate using XDocLet ? If yes please send me any tutorial explaining this.

Thnx & Regards:
Sarthak Mishra
Reply all
Reply to author
Forward
0 new messages