Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

Genie mani

Greenhorn
+ Follow
since Feb 10, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Genie mani

hey thanx Stan.. but what i need i a UML notation diagram for the above , i have already made a diag for the same but its a mixture of class diag as well from Chen diag( used to databse ) and not a proper UML one....
I need someone to guide me develop UML diagram for the situation presented below.
1) class diag, seq. dia...
I have a class(A) which
1) reading MQ message
2) reads from the database for getting some results for verification
3) Read a property file
4) sends a part of the message to another class and gets a resultant message from that class
5) finally passes the resultant message to another class (B) for further process.
(B) class now chooses to call
1) out of 6 classes any one class based on some identification from
the message received from (A)
another question
1) when i am instatiating another class in one class mentioned above
how will be presented in the class diagram.
thnx in advance
thnx everyone for ur reply !!!
actually its simple enough to have it in one single class and process the strings.. what i actually wanted was to have seperated functionality like the types i mentioned above i am using STRATEGY pattern this seperates the type
as preuss mentions how can i work out processing these fixed token for conversion,are there any patterns for the same....
ok ,
RAS 1
AM OVR
BUY
500 BBH 83.10
GTC DNR O

PTS 1
the above will be a sample order which comes in form of lines VIA MQ there are several types of such orders , now each type is identified
by specified Keyword like GTC 6th line will indicate simple order where as if it is CXL anywhere in the lines then it is a cancel order
these are keywords to identify types then there are keywords or specific lines to be read for such type of orders its like we need a rules engine kind, when a simple order comes we know which lines to look for since it is given in the format specs , if its a CXL order then we know which lines to look for
line 83.10 in line 6 is quantity etc...
1)so now i need to design a system which will read the format already known for such types where the line information is also read to extract the fields from the lines
2) then use this values and place it one after the other in a single string ( even this is format specified like 6th - 20th char will be quantity so the qty read from the above sample will be placed in this 6-20th char position.
and then this entire process is reversed when i read a string from MQ and then convert it into line format given above....
hope this makes things clearer.....
and thnx for ur replies once again...Lasse, DON
[ May 21, 2003: Message edited by: Genie mani ]
Thnx Don , Gavin
i checked out strategy, but here i have one more thing to think of :
there are fixed keywords that i need to map to
which helps me in identifying values of those keywords in all the specific lines ( since message is sent in a lines format ) then i do the parsing using this mapping and convert it to a string
and viceversa
as DON mentioned it would be quite cumbersome to
have it in a single file ... i wanted to seggregate into small pieces so that any change in format it becomes maintainable
Simply speaking there are two diff systems which understand diff format.
one system say XXX will send a message throg MQ in a line by line format .. now these line will have say diff keywords which will indicate the nature of the order and what is to be done on that order.
and this will be parsed and understood and then converted into another format SAY to put it to YYY now this format is a string based format ( one full string ) of a specified bytelength .
this is a two way kind where message has to be processed from XXX - understood - parsed - conv to YYY format and viceversa. then againg place it in MQ
there is no GUI involved only trf of message thro MQ from one system to another
Simply speaking there are two diff systems which understand diff format.
one system say XXX will send a message throg MQ in a line by line format .. now these line will have say diff keywords which will indicate the nature of the order and what is to be done on that order.
and this will be parsed and understood and then converted into another format SAY to put it to YYY now this format is a string based format ( one full string ) of a specified bytelength .
this is a two way kind where message has to be processed from XXX - understood - parsed - conv to YYY format and viceversa. then againg place it in MQ

there is no GUI involved only trf of message thro MQ from one system to another
Simply speaking there are two diff systems which understand diff format.
one system say XXX will send a message throg MQ in a line by line format .. now these line will have say diff keywords which will indicate the nature of the order and what is to be done on that order.
and this will be parsed and understood and then converted into another format SAY to put it to YYY now this format is a string based format ( one full string ) of a specified bytelength .
this is a two way kind where message has to be processed from XXX - understood - parsed - conv to YYY format and viceversa. then againg place it in MQ

there is no GUI involved only trf of message thro MQ from one system to another
would like to know performance test methods for JSP !!
19 years ago
JSP