Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

prateek shah

Ranch Hand
+ Follow
since Sep 10, 2001
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 prateek shah

i want to do a project which can add value to my
profile.
centralize email checking
thanks
bye
pratik
18 years ago
cloudscape -start

...
....
& then
it says no installation of RMI Security manager
& then just gets stuck there
please help
Apache Tomcat/4.0.3 - HTTP Status 404 - /ch03/servlet/Time2
--------------------------------------------------------------------------------
type Status report
message /ch03/servlet/Time2
description The requested resource (/ch03/servlet/Time2) is not available.
i am pasting servlet & web.xml , please help
servlet
******
package com.wrox.projsp.ch03.time.controller;
import java.util.Enumeration;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class TimeServlet2 extends HttpServlet {
public void init() {
log("Init was called");
}
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
log("doGet was called");
response.setContentType("text/html");
PrintWriter out = response.getWriter();

out.println("<html>");
out.println("<head><title>");
out.println("Time Entry System");
out.println("</title></head>");

out.println("<body>");

out.println("<h2>Welcome to the Time Entry System</h2>");
out.println("<form action=Time2 method=POST>");
String event = request.getParameter("EVENT");
if (event==null) {
} else if (event.equals("ADMIN")) {
out.println("<h2>Administration Information</h3>");

out.println("<h3>Webapp & Servlet Engine Info</h3>");
ServletContext context = getServletContext();
out.println("<ul>");
out.println("<li> Server Info :" + context.getServerInfo());
out.println("<li> Major Version:" + context.getMajorVersion());
out.println("<li> Minor Version:" + context.getMinorVersion());
out.println("<li> Webapp Init Parameter:");
Enumeration webappParams = context.getInitParameterNames();
out.println("<ul>");
while (webappParams.hasMoreElements()) {
String paramName = (String) webappParams.nextElement();
String paramValue = context.getInitParameter(paramName);
out.println("<li>" + paramName + "=" + paramValue);
}
out.println("</ul>");
out.println("<h3>Servlet Info</h3>");
ServletConfig config = getServletConfig();
out.println("<li>Last Modified : " + getLastModified(request));
out.println("<li>Servlet Info : " + getServletInfo());
out.println("<li>Servlet Name : " + config.getServletName());
out.println("<h3>Servlet Init Parameters</h3>");
Enumeration servletInitParams = config.getInitParameterNames();
out.println("<ul>");
while (servletInitParams.hasMoreElements()) {
String paramName = (String) servletInitParams.nextElement();
String paramValue = config.getInitParameter(paramName);

out.println("<li>" + paramName + "=" + paramValue);
}

out.println("</ul>");
out.println("</ul>");

}
out.println("</form>");
out.println("</body>");
out.println("</html>");


}
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
log("doPost was called");
doGet(request, response);
}
}

web.xml
*******
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Applcation 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">;

<web-app>
<context-param>
<param-name>thisIsMyThirdParam</param-name>
<param-value>3</param-value>
</context-param>
<context-param>
<param-name>thisIsMyFourthParam</param-name>
<param-value>4</param-value>
</context-param>

<servlet>
<servlet-name>
Time2
</servlet-name>
<servlet-class>
com.wrox.projsp.ch03.time.controller.TimeServlet2
</servlet-class>

<init-param>
<param-name>thisIsMyFirstParam</param-name>
<param-value>1</param-value>
</init-param>
<init-param>
<param-name>thisIsMySecondParam</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
</web-app>
[ June 19, 2002: Message edited by: prateek shah ]
[ June 19, 2002: Message edited by: prateek shah ]
this is a bit urgent , please understand & help
can anyone give me some info on any resources or any book or any link on O-R mapping.
and in a 3 tier architecture if each tier is deployed on different node then what is needed to done in the code or in the system to find on whcih node is which tier and how to access & use it
the above question might be sounding very dumb , but i have no clue how to do that , please help me
thanks a lot guys
sorry , i messed up the post
i am trying again to give a link to my file.
thanks
pratik

Requirements & Much more for "EXIMFAST"
i have to develop a system for diamond manufacturers & exporters with financial accounting & inventory & imports integrated with it.
i have started it & done some work based on OOAD & RUP. I dont know whether i am doing it right or going all wrong.
i think u guys can check it comment on it
heres it
*******
This document gives a general overview of requirements of "eximfast"
These r the subsystems in "EXIMFAST"
A. Export
B. Import
C. Financial Accounting
D. Stock
Requirements (FURPS+)
URPS is common for all subsystems
* Usability
1. Online Help
2. Manuals
3. Technical Documentation
* Reliability
1. Recoverability
2. Predictability
3. Security
4. Logging
* Performance
1. speed
2. accuracy
3. responsiveness
* Supportability
1. Adaptability(i.e. can adapt to changing business rules )
2. Configurability
3. Flexibility (i.e. Different formats for reports, invoice, voucher, GUI)
* Functional Requirements for Export, Import, Fa, Stock
(Following r the tasks to be done & reports to be generated)
Export
1. Export Invoice
2. GR form
3. Draft Letter
4. Wrapper
5. Export Realisation
6. Bank Certificates
7. Licence Application
8. Special Import Licence
9. Proforma Invoice
10. Various Annexures
11) Bank Finances



Import
1. Import Invoice
2. Import Remmitance
3. Import Reports
Financial Accounting
1. Sale
2. Purchase
3. J/V
4. Debit Note
5. Credit Note
6. Cash Payment
7. Cash Receipt
8. Bank Payment
9. Bank Receipt
10. Referencewise Tracking
11. Updating inventory from sales & purchases
12. Ledger
13. Cashbook
14. Bankbook
15. Sales register
16. Purchase register
17. Jv register
18. Trial balance
19. Balance sheet
20. TDS
21. Tax deductions e.g. CST, BST, Excise or any other thing which is customizable
22. Voucher printing
23. Invoice printing
24. Currency conversion
Stock & Manufacturing
1. Materials in
2. Materials Out
3. Finished Good out
4. Raw material In
5. Manufacturing process
6. Stock Report
7. Stock Valuation
8) Jangad Tracking










List of Most of the Use Cases (From Most Risky To Least Risky)
UC0 : Process Export
UC1 : Process Import
UC2 : Handle Export Payment
UC3 : Handle Import Payment
UC4 : Handle Manufacturing Process
UC5 : Handle Export-Fa Link
UC6 : Handle Export-Stock Link
UC7 : Handle Import-Fa Link
UC8 : Handle Import-Stock Link
UC9 : Handle Manufacturing-Stock Link
UC10 : Process Sales
UC11 : Process Purchase
UC12 : Process Cash Entries
UC13 : Process Bank Entries
UC14 : Process Journal Entries
UC15 : Handle Tax Calculation
UC16 : Generate Trial Balance
UC17 : Generate P/L
UC18 : Generate Balance Sheet
UC19 : Generate Schedules
UC20 : Generate Sales Register
UC21 : Generate Purchase Register
UC22 : Generate Bank Book
UC23 : Generate Cash Book
UC24 : Generate Journal Register
UC25 : Generate Ledger
UC26 : Generate Export Register
UC27 : Generate Import Register
UC28 : Generate Export Payment Register
UC29 : Generate Import Payment Register
UC30 : Process Bank Finance Availability
UC31 : Process Jangad Issues
UC32 : Process Jangad Cancellations
UC33 : Generate Tax Forms & Registers
UC34 : Handle Valuation of Stock
UC35 : Handle Custom Report Generator
UC36 : Manage User
UC37 : Logging
UC38 : Startup
UC39 : Shutdown
UC40 : Enter Packing List
UC41 : Enter Book Rate
UC42 : Enter Shipping Bill Details
UC43 : Enter Bank Approval No.





RankRequirement
(Use Case or Feature)Comment
HighUC0 rocess Export
UC2:Handle Export Payment
UC1 rocess Import
UC3:Handle Import Payment
UC5:Handle Export-Fa Link
UC6:Handle Export-Stock Link
UC7:Handle Import-Fa Link
UC8:Handle Import-Stock Link
UC9:Handle Mfg.-Stock Link
UC10 rocess Journal Entry
UC38:Startup
UC25:Generate Ledger
UC10 : Process Sales
UC11 : Process Purchase
UC12 : Process Cash Entries
UC13 : Process Bank Entries
UC4:Handle Manufacturing ProcessInitiates the business cycle, high BV
Ends the business cycle, high BV
Core of Business Cycle
--------""-------
Hard to Add Late
--------""-------
--------""-------
--------""-------
--------""-------
Gives Base for FA Entries
Provides the resources
Bear minimum for Accounts
--------""-------
--------""-------
--------""-------
--------""-------
Affects raw material inventory
MediumUC15 : Handle Tax Calculation
UC16 : Generate Trial Balance
UC17 : Generate P/L
UC18 : Generate Balance Sheet
UC19 : Generate Schedules
UC20 : Generate Sales Register
UC21 : Generate Purchase Register
UC22 : Generate Bank Book
UC23 : Generate Cash Book
UC24 : Generate Journal Register
UC25 : Generate Ledger
UC26 : Generate Export Register
UC27 : Generate Import Register
UC28 : Generate Export Payment Register
UC29 : Generate Import Payment Register
UC30 : Process Bank Finance Availability
UC41 : Enter Book Rate
UC42 : Enter Shipping Bill Details
UC43 : Enter Bank Approval NoRest of the use cases are secondary activities which revolve around the high risk use cases thats why they r in medium risk category.
LowUC31 : Process Jangad Issues
UC32 : Process Jangad Cancellations
UC33 : Generate Tax Forms & Registers
UC34 : Handle Valuation of Stock
UC35 : Handle Custom Report GeneratorCan easily be added later on once the baseline system in ready

UC1 rocess Export
 Primary Actor : Documentation Clerk
 Stakeholders & Interests :
 Documentation Clerk : Wants fast entry & without any errors.
 Inventory Clerk : Wants inventory updated. Item wise updation.
 Accounts Clerk : Appropriate effects to appropriate accounts & financial statements , in base currency i.e. Rs.
 Preconditions
 Documentation clerk is identified & authenticated
 Currency Conversion Rate is entred
 Success Guarantee (post conditions)
1. Export is recorded
2. Required Documents are printed
3. Export register updated
 Main Success scenario (or Basic Flow)
1. Documents clerk(DC) starts a new sale
2. enters Export invoice no, date, party�s code & sale type i.e local or export
3. enter payment terms ID
4. display due date, calculated from payment terms
5. DC enters item id
6. system shows item desc., price, uom
7. sales clerk enters item qty
8. system calculates sales line item amount based on some rules
9. system presents running total of sales line item
sales clerk repeats step 5-9 until indicates done
10. system presents total with taxes calculated according to tax rules
11. sales clerk confirms sale
12. system asks to save it , modify it or cancel it
13. sales clerk takes action
14. system asks whether sales clerk wants to print sales invoice
15. sales clerk prints
 Extensions (or alternative flows)
1. sales clerk enters invoice no. Which is already existing
a. system signals error & rejects entry
b. sales clerk enters invoice no. Again
2) sales clerk enters invoice date beyond
TO BE CONT...

Elaboration
Iteration 1 (Duration 2 Weeks)
Deadline 1st May 2002
The requirements for the first iteration elaboration of EXIMFAST are as follows
 Implement UC1 rocess Export (Enter Invoice & Print Invoice)
 Nothing complex is added.
 There r no links in place in this iteration.
Artifacts to be initiated in this iteration are as follows :
ArtifactComment
Domain ModelThis is a Visualization of the domain concepts; it is similar to a static information model of the domain entities .
Design modelThis is the set of diagrams that describes the logical design. This includes software class diagrams, object interaction diagrams, package diagrams & so forth.
Data ModelThis includes the database schemas & the mapping strategies between object & non-object representations.
Test ModelA description of what will be tested & how.
Implementation ModelThis is the actual implementation � the source code, executables, database & so on.
Use-Case Storyboards, UI PrototypesA description of the user interface, paths of navigation, usability models and so forth
first of all thanks a lot for the reply.
are there any other mock exams available
apart from the two books (larman & fowler) what else can i do in order get ready for the exam & real life projects
thanks again
bye
pratik
hi,
took the 486 sample test & failed , is there any way to check my answers
thanks
pratik
hi,

i am new to ooad,uml,patterns but not new to this board. i cleared scjp only with support of u guys , i dont think u guys remeber me coz i was not very active participant , just used to go thru the posts.
now i need help in ooad , i think some time back there was online version of writing effective use cases by alistair cockburn , but now it has been taken off.
is anyone having it , can anyone please email it to me. i'll be really grateful.
i have read fowler,larman & now decided to start designing an accounting system , but not very clear with how to write use cases.
please oblige
thanks
pratik
hi,
i am preparing for SCEA part 1 , what software i need to install on my windows nt service pack 4
please help
thanks
bye
pratik
hi,
exam tests us on ejb 1.1 or ejb 1.0 ?
thanks
bye
pratik
SCJP2
hi,
can anyone suggest any link or book for protocols
thanks
pratik
hi,
can anyone help me. i want to know how do i prepare for Part I. as a reply to my earlier post one our friend told me to look in the earlier posts & try to find out , i did exactly that & found out some resources. i am mentioning them below just tell me if i need to read more material to get thorough understanding of concepts or am i missing anything.
1) EJB book(o'reilly)
2) uml by martin fowler
3) design pattern (GOF)
4) J2ee specs
5) j2ee tutorial
6) j2ee blueprints
7) j2ee pet store application
8) servlets specs
9) jsp specs
10)professional Jsp
11)java servlets (jason hunter)
12)john's notes
13) desgin patterns java companion

please help
thanks
pratik
hi,
i have just cleared SCJP a month ago, thought for SCWCD for a while , but then after reading some posts here , i thought i would rather work a lot harder & give SCJA Exams.
I want help form u all guys as in how to start studying, what to read, where to get more information.
please help
thanks
bye
pratik
hi,
can anyone help me by telling where to start from , what to read, what to do , in order to prepare for the exam.where i can get more information
thanks
bye
pratik