This week's book giveaway is in the Design and Architecture forum.
We're giving away four copies of Communication Patterns: A Guide for Developers and Architects and have Jacqui Read on-line!
See this thread for details.

subba Sathi

Greenhorn
+ Follow
since Jul 02, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by subba Sathi

I am basically looking for a small XML template that I can open in Excel with Report look and feel.

An XML file with HTML AND XML tags would be enough.

Please advise

Thanks
Subba

Rob Prime wrote:readLine returns null and read returns -1 if there simply is nothing to read.



I am getting the same for reading a non empty file.

FIle is not empty and fails at the first read..

Thanks

15 years ago
I am getting null for firstLine

String firstLine = inputStream.readLine();

result=-1 for the first time itself..

result = this.readLine(buf, 0, buf.length);

I am trying to add a word document and is causing this error. I tried with a text file also.

Please let me know what I am doing wrong here..

15 years ago
Please see the following code




We are trying to add a file as attachment in one of our applications ,,
I am getting invalid input data stream and the same code works fine in another application.

Please advise if anyone has encountered same issue before..

Thanks
Satya
15 years ago
Thanks for reply..

Not knowing EJB much, what kind of NFRs EJB supports..

What are the limitations of using JDBC as data access layer..

The screen will have read/Update records from the DB2 table..

Thanks
Subba
I would like to develop a small size web app(3-5 screens) that needs to access DB2 table in the backend..

What should be the technology used..

JSP/Servlets/java beans
Here how does the database connection happens
What is the architecture diagram look like? like presentation layer/business logic layer/data access layer etc..


JSP/Servlets/EJB - Does it need EJB for a small size app..


Please advise..

PS. I would like to know different combinations of architecture designs for various types of web applications like small, medium and large applications..

can someone guide me thru this.. i am being exposed to web technologies recently and would know JSP/Servlets only..

Presentation Layer - JSP/Servlets
Business Logic Layer - Java Beans
Data Access layer - JDBC


ThankS
Subba S
[ July 02, 2008: Message edited by: subba Sathi ]
I would like to develop a small size web app(3-5 screens) that needs to access DB2 table in the backend..

What should be the technology used..

JSP/Servlets/java beans
Here how does the database connection happens
What is the architecture diagram look like? like presentation layer/business logic layer/data access layer etc..


JSP/Servlets/EJB - Does it need EJB for a small size app..


Please advise..

PS. I would like to know different combinations of architecture designs for various types of web applications like small, medium and large applications..

can someone guide me thru this.. i am being exposed to web technologies recently and would know JSP/Servlets only..

Presentation Layer - JSP/Servlets
Business Logic Layer - Java Beans
Data Access layer - JDBC


ThankS
Subba S
[ July 02, 2008: Message edited by: subba Sathi ]
I would like to develop a small size web app(3-5 screens) that needs to access DB2 table in the backend..

What should be the technology used..

JSP/Servlets/java beans
Here how does the database connection happens
What is the architecture diagram look like? like presentation layer/business logic layer/data access layer etc..


JSP/Servlets/EJB - Does it need EJB for a small size app..


Please advise..

PS. I would like to know different combinations of architecture designs for various types of web applications like small, medium and large applications..

can someone guide me thru this.. i am being exposed to web technologies recently and would know JSP/Servlets only..

Presentation Layer - JSP/Servlets
Business Logic Layer - Java Beans
Data Access layer - JDBC


ThankS
Subba S

[ July 02, 2008: Message edited by: subba Sathi ]
[ July 02, 2008: Message edited by: subba Sathi ]