JavaCAPS: File vs. BatchLocal eWay

Spent some time with JavaCAPS this week creating what I hope to be a RSS feed. Still need data but I ran into an interesting choice. There are at least two ways to create a data file. In my case an RSS feed. I could choose between the File eWay and the BatchLocal eWay. With no history on which to use I chose the File eWay. Mainly since Batch seemed so 1980's and I been there done that. Well if you choose the file eWay you will be limited. I quickly ran into an issue that I could not overwrite my existing data. It just kept appending to the existing datafile. Bringing up the properties sheet illustrated my problem. I could choose the directory and the filename for output but had very little control over any thing. After consulting with the experts I was directed to the BatchLocal eWay. Well this is the way to go for any real application. Especially one you will put into production. It allows you to control how to append, name the file with a mask and much much more. So my wisdom of the day. Do not choose the File eWay go old school with the BatchLocal eWay. You will be happy.

Technorati Tags: , ,

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

leroyk

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today