├── .classpath
├── .github
├── ISSUE_TEMPLATE
│ ├── bug_report.yml
│ └── feature_request.yml
└── pull_request_template.md
├── .gitignore
├── .project
├── .settings
├── .jsdtscope
├── org.eclipse.jdt.core.prefs
├── org.eclipse.m2e.core.prefs
├── org.eclipse.wst.common.component
├── org.eclipse.wst.common.project.facet.core.xml
├── org.eclipse.wst.jsdt.ui.superType.container
├── org.eclipse.wst.jsdt.ui.superType.name
└── org.eclipse.wst.validation.prefs
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── Dummy_Database.md
├── Jenkinsfile
├── Procfile
├── README.md
├── WebContent
├── Animated buttons
├── CustomerHome.html
├── CustomerLogin.html
├── CustomerRegister.html
├── META-INF
│ └── MANIFEST.MF
├── Photo.jpg
├── SellerHome.html
├── SellerLogin.html
├── WEB-INF
│ └── web.xml
├── favicons
│ ├── android-chrome-192x192.png
│ ├── android-chrome-512x512.png
│ ├── apple-touch-icon.png
│ ├── favicon-16x16.png
│ ├── favicon-32x32.png
│ ├── favicon.ico
│ └── site.webmanifest
├── index.html
├── loader.gif
├── login.html
├── logo.png
├── payment.html
└── styles.css
├── appspec.yaml
├── buildspec.yaml
├── pom.xml
├── scripts
├── start_server.sh
└── stop_server.sh
├── setup
└── CreateDatastore.sql
└── src
└── main
├── java
├── com
│ └── bittercode
│ │ ├── constant
│ │ ├── BookStoreConstants.java
│ │ ├── ResponseCode.java
│ │ └── db
│ │ │ ├── BooksDBConstants.java
│ │ │ └── UsersDBConstants.java
│ │ ├── model
│ │ ├── Address.java
│ │ ├── Book.java
│ │ ├── Cart.java
│ │ ├── StoreException.java
│ │ ├── User.java
│ │ ├── UserRole.java
│ │ └── package-info.java
│ │ ├── service
│ │ ├── BookService.java
│ │ ├── UserService.java
│ │ └── impl
│ │ │ ├── BookServiceImpl.java
│ │ │ └── UserServiceImpl.java
│ │ └── util
│ │ ├── DBUtil.java
│ │ ├── DatabaseConfig.java
│ │ └── StoreUtil.java
└── servlets
│ ├── AboutServlet.java
│ ├── AddBookServlet.java
│ ├── BuyBooksServlet.java
│ ├── CartServlet.java
│ ├── CheckoutServlet.java
│ ├── CustomerLoginServlet.java
│ ├── CustomerRegisterServlet.java
│ ├── ErrorHandlerServlet.java
│ ├── LogoutServlet.java
│ ├── ProcessPaymentServlet.java
│ ├── ReceiptServlet.java
│ ├── RemoveBookServlet.java
│ ├── SellerLoginServlet.java
│ ├── StoreBookServlet.java
│ ├── UpdateBookServlet.java
│ └── ViewBookServlet.java
└── resources
└── application.properties
/.classpath:
--------------------------------------------------------------------------------
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 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.yml:
--------------------------------------------------------------------------------
1 | name: Bug report
2 | description: Create a report to help us improve. Report bugs found while using the project
3 | title: "[BUG]"
4 | labels: [bug]
5 | body:
6 | - type: markdown
7 | attributes:
8 | value: "Provide a general summary of the issue in the Title above"
9 | - type: textarea
10 | id: description
11 | attributes:
12 | label: Description
13 | description: Provide a general summary of the issue in the Title above
14 | validations:
15 | required: true
16 | - type: input
17 | id: expectedbhv
18 | attributes:
19 | label: Expected behavior
20 | description: Tell us what should happen
21 | validations:
22 | required: true
23 | - type: input
24 | id: actualbhv
25 | attributes:
26 | label: Actual behavior
27 | description: Tell us what happens instead
28 | validations:
29 | required: true
30 | - type: input
31 | id: possiblefix
32 | attributes:
33 | label: Possible fix
34 | description: Not obligatory, but suggest a fix or reason for the bug
35 | validations:
36 | required: false
37 | - type: textarea
38 | id: steps
39 | attributes:
40 | label: Steps to reproduce
41 | description: |
42 | Provide a link to a live example, or an unambiguous set of steps to
43 | reproduce this bug. Include code to reproduce, if relevant
44 | placeholder: |
45 | 1.
46 | 2.
47 | 3.
48 | 4.
49 | validations:
50 | required: true
51 | - type: textarea
52 | id: context
53 | attributes:
54 | label: Context
55 | description: How has this bug affected you? What were you trying to accomplish?
56 | validations:
57 | required: true
58 | - type: textarea
59 | id: extrainformation
60 | attributes:
61 | label: Additional information
62 | description: Is there anything else we should know about this bug?
63 | validations:
64 | required: false
65 |
66 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.yml:
--------------------------------------------------------------------------------
1 | name: Feature request
2 | description: Suggest features, propose improvements, discuss new ideas.
3 | title: "[FEATURE]"
4 | labels: [enhancement]
5 | body:
6 | - type: markdown
7 | attributes:
8 | value: Provide a general summary of the issue in the Title above
9 | - type: textarea
10 | id: description
11 | attributes:
12 | label: Detailed description
13 | description: Provide a detailed description of the change or addition you are proposing
14 | validations:
15 | required: true
16 | - type: textarea
17 | id: context
18 | attributes:
19 | label: Context
20 | description: |
21 | Why is this change important to you? How would you use it?
22 | How can it benefit other users?
23 | validations:
24 | required: true
25 | - type: textarea
26 | id: possibleimpl
27 | attributes:
28 | label: Possible implementation
29 | description: Not obligatory, but suggest an idea for implementing addition or change
30 | validations:
31 | required: false
32 | - type: textarea
33 | id: extrainformation
34 | attributes:
35 | label: Additional information
36 | description: Is there anything else we should know about this feature?
37 | validations:
38 | required: false
39 |
--------------------------------------------------------------------------------
/.github/pull_request_template.md:
--------------------------------------------------------------------------------
1 | #### Description of Change
2 |
3 |
9 |
10 | #### References
11 |
12 |
13 | ## Type of change
14 |
15 |
16 | - [ ] Bug fix (non-breaking change which fixes an issue)
17 | - [ ] New feature (non-breaking change which adds functionality)
18 | - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
19 | - [ ] This change requires a documentation update
20 |
21 | #### Checklist
22 |
23 |
24 | - [ ] Added description of change
25 | - [ ] Relevant documentation/comments is changed or added
26 | - [ ] Search previous suggestions before making a new one, as yours may be a duplicate.
27 | - [ ] I have performed a self-review of my own code by running the project in local
28 | - [ ] I acknowledge that all my contributions will be made under the project's license.
29 |
30 | Notes:
31 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /build/
3 | .classpath
4 | .settings
5 |
--------------------------------------------------------------------------------
/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | onlinebookstore
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.wst.common.project.facet.core.builder
15 |
16 |
17 |
18 |
19 | org.eclipse.wst.validation.validationbuilder
20 |
21 |
22 |
23 |
24 | org.eclipse.m2e.core.maven2Builder
25 |
26 |
27 |
28 |
29 |
30 | org.eclipse.m2e.core.maven2Nature
31 | org.eclipse.jem.workbench.JavaEMFNature
32 | org.eclipse.wst.common.modulecore.ModuleCoreNature
33 | org.eclipse.wst.common.project.facet.core.nature
34 | org.eclipse.jdt.core.javanature
35 | org.eclipse.wst.jsdt.core.jsNature
36 |
37 |
38 |
39 | 1665573956898
40 |
41 | 30
42 |
43 | org.eclipse.core.resources.regexFilterMatcher
44 | node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/.settings/.jsdtscope:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | enableParallelJavaIndexSearch=true
3 | org.eclipse.jdt.core.builder.annotationPath.allLocations=disabled
4 | org.eclipse.jdt.core.builder.cleanOutputFolder=clean
5 | org.eclipse.jdt.core.builder.duplicateResourceTask=warning
6 | org.eclipse.jdt.core.builder.invalidClasspath=abort
7 | org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore
8 | org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=
9 | org.eclipse.jdt.core.circularClasspath=warning
10 | org.eclipse.jdt.core.classpath.exclusionPatterns=enabled
11 | org.eclipse.jdt.core.classpath.mainOnlyProjectHasTestOnlyDependency=error
12 | org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled
13 | org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error
14 | org.eclipse.jdt.core.codeComplete.argumentPrefixes=
15 | org.eclipse.jdt.core.codeComplete.argumentSuffixes=
16 | org.eclipse.jdt.core.codeComplete.camelCaseMatch=enabled
17 | org.eclipse.jdt.core.codeComplete.deprecationCheck=disabled
18 | org.eclipse.jdt.core.codeComplete.discouragedReferenceCheck=disabled
19 | org.eclipse.jdt.core.codeComplete.fieldPrefixes=
20 | org.eclipse.jdt.core.codeComplete.fieldSuffixes=
21 | org.eclipse.jdt.core.codeComplete.forbiddenReferenceCheck=enabled
22 | org.eclipse.jdt.core.codeComplete.forceImplicitQualification=disabled
23 | org.eclipse.jdt.core.codeComplete.localPrefixes=
24 | org.eclipse.jdt.core.codeComplete.localSuffixes=
25 | org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
26 | org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
27 | org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
28 | org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
29 | org.eclipse.jdt.core.codeComplete.subwordMatch=disabled
30 | org.eclipse.jdt.core.codeComplete.suggestStaticImports=enabled
31 | org.eclipse.jdt.core.codeComplete.visibilityCheck=enabled
32 | org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
33 | org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
34 | org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
35 | org.eclipse.jdt.core.compiler.annotation.nonnull.secondary=
36 | org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
37 | org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary=
38 | org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
39 | org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
40 | org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
41 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
42 | org.eclipse.jdt.core.compiler.codegen.lambda.genericSignature=do not generate
43 | org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
44 | org.eclipse.jdt.core.compiler.codegen.shareCommonFinallyBlocks=disabled
45 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
46 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
47 | org.eclipse.jdt.core.compiler.compliance=1.8
48 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate
49 | org.eclipse.jdt.core.compiler.debug.localVariable=generate
50 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate
51 | org.eclipse.jdt.core.compiler.doc.comment.support=enabled
52 | org.eclipse.jdt.core.compiler.emulateJavacBug8031744=enabled
53 | org.eclipse.jdt.core.compiler.generateClassFiles=enabled
54 | org.eclipse.jdt.core.compiler.maxProblemPerUnit=100
55 | org.eclipse.jdt.core.compiler.problem.APILeak=warning
56 | org.eclipse.jdt.core.compiler.problem.annotatedTypeArgumentToUnannotated=info
57 | org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
58 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
59 | org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
60 | org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
61 | org.eclipse.jdt.core.compiler.problem.deadCode=warning
62 | org.eclipse.jdt.core.compiler.problem.deadCodeInTrivialIfStatement=disabled
63 | org.eclipse.jdt.core.compiler.problem.deprecation=warning
64 | org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
65 | org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
66 | org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
67 | org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
68 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
69 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
70 | org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
71 | org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
72 | org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
73 | org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
74 | org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
75 | org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
76 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
77 | org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
78 | org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
79 | org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
80 | org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
81 | org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
82 | org.eclipse.jdt.core.compiler.problem.invalidJavadoc=ignore
83 | org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=disabled
84 | org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled
85 | org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled
86 | org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=public
87 | org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
88 | org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
89 | org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
90 | org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
91 | org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
92 | org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
93 | org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore
94 | org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
95 | org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public
96 | org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag
97 | org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore
98 | org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled
99 | org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled
100 | org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public
101 | org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
102 | org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
103 | org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
104 | org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
105 | org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
106 | org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
107 | org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
108 | org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
109 | org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation=warning
110 | org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
111 | org.eclipse.jdt.core.compiler.problem.nullReference=warning
112 | org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
113 | org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
114 | org.eclipse.jdt.core.compiler.problem.overridingMethodWithoutSuperInvocation=ignore
115 | org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
116 | org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
117 | org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables=warning
118 | org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
119 | org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
120 | org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
121 | org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
122 | org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
123 | org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
124 | org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
125 | org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning
126 | org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
127 | org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
128 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
129 | org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
130 | org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
131 | org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
132 | org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
133 | org.eclipse.jdt.core.compiler.problem.suppressWarningsNotFullyAnalysed=info
134 | org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
135 | org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
136 | org.eclipse.jdt.core.compiler.problem.tasks=warning
137 | org.eclipse.jdt.core.compiler.problem.terminalDeprecation=warning
138 | org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
139 | org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
140 | org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
141 | org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
142 | org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
143 | org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore
144 | org.eclipse.jdt.core.compiler.problem.uninternedIdentityComparison=disabled
145 | org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning
146 | org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled
147 | org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=info
148 | org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
149 | org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
150 | org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
151 | org.eclipse.jdt.core.compiler.problem.unstableAutoModuleName=warning
152 | org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
153 | org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
154 | org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
155 | org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
156 | org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore
157 | org.eclipse.jdt.core.compiler.problem.unusedImport=warning
158 | org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
159 | org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
160 | org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
161 | org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
162 | org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
163 | org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
164 | org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
165 | org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
166 | org.eclipse.jdt.core.compiler.problem.unusedTypeArgumentsForMethodInvocation=warning
167 | org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
168 | org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
169 | org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
170 | org.eclipse.jdt.core.compiler.processAnnotations=disabled
171 | org.eclipse.jdt.core.compiler.release=disabled
172 | org.eclipse.jdt.core.compiler.source=1.8
173 | org.eclipse.jdt.core.compiler.storeAnnotations=disabled
174 | org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled
175 | org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL
176 | org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX
177 | org.eclipse.jdt.core.computeJavaBuildOrder=ignore
178 | org.eclipse.jdt.core.encoding=utf8
179 | org.eclipse.jdt.core.formatter.align_assignment_statements_on_columns=false
180 | org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647
181 | org.eclipse.jdt.core.formatter.align_selector_in_method_invocation_on_expression_first_line=true
182 | org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
183 | org.eclipse.jdt.core.formatter.align_variable_declarations_on_columns=false
184 | org.eclipse.jdt.core.formatter.align_with_spaces=false
185 | org.eclipse.jdt.core.formatter.alignment_for_additive_operator=16
186 | org.eclipse.jdt.core.formatter.alignment_for_annotations_on_enum_constant=49
187 | org.eclipse.jdt.core.formatter.alignment_for_annotations_on_field=49
188 | org.eclipse.jdt.core.formatter.alignment_for_annotations_on_local_variable=49
189 | org.eclipse.jdt.core.formatter.alignment_for_annotations_on_method=49
190 | org.eclipse.jdt.core.formatter.alignment_for_annotations_on_package=49
191 | org.eclipse.jdt.core.formatter.alignment_for_annotations_on_parameter=0
192 | org.eclipse.jdt.core.formatter.alignment_for_annotations_on_type=49
193 | org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
194 | org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
195 | org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
196 | org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
197 | org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
198 | org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
199 | org.eclipse.jdt.core.formatter.alignment_for_assertion_message=16
200 | org.eclipse.jdt.core.formatter.alignment_for_assignment=0
201 | org.eclipse.jdt.core.formatter.alignment_for_bitwise_operator=16
202 | org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
203 | org.eclipse.jdt.core.formatter.alignment_for_compact_loops=16
204 | org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
205 | org.eclipse.jdt.core.formatter.alignment_for_conditional_expression_chain=0
206 | org.eclipse.jdt.core.formatter.alignment_for_enum_constants=16
207 | org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
208 | org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header=0
209 | org.eclipse.jdt.core.formatter.alignment_for_expressions_in_switch_case_with_arrow=16
210 | org.eclipse.jdt.core.formatter.alignment_for_expressions_in_switch_case_with_colon=16
211 | org.eclipse.jdt.core.formatter.alignment_for_logical_operator=16
212 | org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
213 | org.eclipse.jdt.core.formatter.alignment_for_module_statements=16
214 | org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
215 | org.eclipse.jdt.core.formatter.alignment_for_multiplicative_operator=16
216 | org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references=0
217 | org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
218 | org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
219 | org.eclipse.jdt.core.formatter.alignment_for_record_components=16
220 | org.eclipse.jdt.core.formatter.alignment_for_relational_operator=0
221 | org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
222 | org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
223 | org.eclipse.jdt.core.formatter.alignment_for_shift_operator=0
224 | org.eclipse.jdt.core.formatter.alignment_for_string_concatenation=16
225 | org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
226 | org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
227 | org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_record_declaration=16
228 | org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
229 | org.eclipse.jdt.core.formatter.alignment_for_switch_case_with_arrow=20
230 | org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
231 | org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
232 | org.eclipse.jdt.core.formatter.alignment_for_type_annotations=0
233 | org.eclipse.jdt.core.formatter.alignment_for_type_arguments=0
234 | org.eclipse.jdt.core.formatter.alignment_for_type_parameters=0
235 | org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
236 | org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
237 | org.eclipse.jdt.core.formatter.blank_lines_after_last_class_body_declaration=0
238 | org.eclipse.jdt.core.formatter.blank_lines_after_package=1
239 | org.eclipse.jdt.core.formatter.blank_lines_before_abstract_method=1
240 | org.eclipse.jdt.core.formatter.blank_lines_before_field=0
241 | org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
242 | org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
243 | org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
244 | org.eclipse.jdt.core.formatter.blank_lines_before_method=1
245 | org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
246 | org.eclipse.jdt.core.formatter.blank_lines_before_package=0
247 | org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
248 | org.eclipse.jdt.core.formatter.blank_lines_between_statement_group_in_switch=0
249 | org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
250 | org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
251 | org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
252 | org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
253 | org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
254 | org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
255 | org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
256 | org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
257 | org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
258 | org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line
259 | org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
260 | org.eclipse.jdt.core.formatter.brace_position_for_record_constructor=end_of_line
261 | org.eclipse.jdt.core.formatter.brace_position_for_record_declaration=end_of_line
262 | org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
263 | org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
264 | org.eclipse.jdt.core.formatter.comment.align_tags_descriptions_grouped=true
265 | org.eclipse.jdt.core.formatter.comment.align_tags_names_descriptions=false
266 | org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
267 | org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
268 | org.eclipse.jdt.core.formatter.comment.count_line_length_from_starting_position=true
269 | org.eclipse.jdt.core.formatter.comment.format_block_comments=true
270 | org.eclipse.jdt.core.formatter.comment.format_header=false
271 | org.eclipse.jdt.core.formatter.comment.format_html=true
272 | org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
273 | org.eclipse.jdt.core.formatter.comment.format_line_comments=true
274 | org.eclipse.jdt.core.formatter.comment.format_source_code=true
275 | org.eclipse.jdt.core.formatter.comment.indent_parameter_description=false
276 | org.eclipse.jdt.core.formatter.comment.indent_root_tags=false
277 | org.eclipse.jdt.core.formatter.comment.indent_tag_description=false
278 | org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
279 | org.eclipse.jdt.core.formatter.comment.insert_new_line_between_different_tags=do not insert
280 | org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert
281 | org.eclipse.jdt.core.formatter.comment.line_length=80
282 | org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
283 | org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
284 | org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
285 | org.eclipse.jdt.core.formatter.compact_else_if=true
286 | org.eclipse.jdt.core.formatter.continuation_indentation=2
287 | org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
288 | org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
289 | org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
290 | org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
291 | org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=false
292 | org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
293 | org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
294 | org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
295 | org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_record_header=true
296 | org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
297 | org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
298 | org.eclipse.jdt.core.formatter.indent_empty_lines=false
299 | org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
300 | org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
301 | org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
302 | org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
303 | org.eclipse.jdt.core.formatter.indentation.size=4
304 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant=insert
305 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
306 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
307 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
308 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
309 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
310 | org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
311 | org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
312 | org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
313 | org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert
314 | org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
315 | org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
316 | org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
317 | org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
318 | org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
319 | org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
320 | org.eclipse.jdt.core.formatter.insert_space_after_additive_operator=insert
321 | org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
322 | org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_case=insert
323 | org.eclipse.jdt.core.formatter.insert_space_after_arrow_in_switch_default=insert
324 | org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
325 | org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
326 | org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
327 | org.eclipse.jdt.core.formatter.insert_space_after_bitwise_operator=insert
328 | org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=do not insert
329 | org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
330 | org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
331 | org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
332 | org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
333 | org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
334 | org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
335 | org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
336 | org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
337 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
338 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
339 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
340 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
341 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
342 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
343 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
344 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
345 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
346 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
347 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
348 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
349 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
350 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
351 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
352 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
353 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_permitted_types=insert
354 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_record_components=insert
355 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
356 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_switch_case_expressions=insert
357 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
358 | org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
359 | org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
360 | org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert
361 | org.eclipse.jdt.core.formatter.insert_space_after_logical_operator=insert
362 | org.eclipse.jdt.core.formatter.insert_space_after_multiplicative_operator=insert
363 | org.eclipse.jdt.core.formatter.insert_space_after_not_operator=do not insert
364 | org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
365 | org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
366 | org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
367 | org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
368 | org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
369 | org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
370 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
371 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
372 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
373 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
374 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
375 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
376 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
377 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
378 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
379 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
380 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_record_declaration=do not insert
381 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
382 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
383 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
384 | org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
385 | org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
386 | org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
387 | org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
388 | org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
389 | org.eclipse.jdt.core.formatter.insert_space_after_relational_operator=insert
390 | org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
391 | org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
392 | org.eclipse.jdt.core.formatter.insert_space_after_shift_operator=insert
393 | org.eclipse.jdt.core.formatter.insert_space_after_string_concatenation=insert
394 | org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
395 | org.eclipse.jdt.core.formatter.insert_space_before_additive_operator=insert
396 | org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
397 | org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_case=insert
398 | org.eclipse.jdt.core.formatter.insert_space_before_arrow_in_switch_default=insert
399 | org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
400 | org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
401 | org.eclipse.jdt.core.formatter.insert_space_before_bitwise_operator=insert
402 | org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
403 | org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
404 | org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
405 | org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
406 | org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
407 | org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
408 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
409 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
410 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
411 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
412 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
413 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
414 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
415 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
416 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
417 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
418 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_record_declaration=do not insert
419 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
420 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
421 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
422 | org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
423 | org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
424 | org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
425 | org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
426 | org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
427 | org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
428 | org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
429 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
430 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
431 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
432 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
433 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
434 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
435 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
436 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
437 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
438 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
439 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
440 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
441 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
442 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
443 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
444 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
445 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_permitted_types=do not insert
446 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_record_components=do not insert
447 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
448 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_switch_case_expressions=do not insert
449 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
450 | org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
451 | org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
452 | org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert
453 | org.eclipse.jdt.core.formatter.insert_space_before_logical_operator=insert
454 | org.eclipse.jdt.core.formatter.insert_space_before_multiplicative_operator=insert
455 | org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
456 | org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
457 | org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
458 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
459 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
460 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
461 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
462 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
463 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
464 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
465 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
466 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_constructor=insert
467 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_record_declaration=insert
468 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
469 | org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
470 | org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
471 | org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
472 | org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
473 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
474 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
475 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
476 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
477 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
478 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
479 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
480 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
481 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
482 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
483 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_record_declaration=do not insert
484 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
485 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
486 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
487 | org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
488 | org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
489 | org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
490 | org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
491 | org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
492 | org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
493 | org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
494 | org.eclipse.jdt.core.formatter.insert_space_before_relational_operator=insert
495 | org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
496 | org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
497 | org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
498 | org.eclipse.jdt.core.formatter.insert_space_before_shift_operator=insert
499 | org.eclipse.jdt.core.formatter.insert_space_before_string_concatenation=insert
500 | org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
501 | org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
502 | org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
503 | org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
504 | org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
505 | org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
506 | org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
507 | org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
508 | org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
509 | org.eclipse.jdt.core.formatter.join_lines_in_comments=false
510 | org.eclipse.jdt.core.formatter.join_wrapped_lines=false
511 | org.eclipse.jdt.core.formatter.keep_annotation_declaration_on_one_line=one_line_never
512 | org.eclipse.jdt.core.formatter.keep_anonymous_type_declaration_on_one_line=one_line_never
513 | org.eclipse.jdt.core.formatter.keep_code_block_on_one_line=one_line_never
514 | org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
515 | org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
516 | org.eclipse.jdt.core.formatter.keep_enum_constant_declaration_on_one_line=one_line_never
517 | org.eclipse.jdt.core.formatter.keep_enum_declaration_on_one_line=one_line_never
518 | org.eclipse.jdt.core.formatter.keep_if_then_body_block_on_one_line=one_line_never
519 | org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
520 | org.eclipse.jdt.core.formatter.keep_lambda_body_block_on_one_line=one_line_never
521 | org.eclipse.jdt.core.formatter.keep_loop_body_block_on_one_line=one_line_never
522 | org.eclipse.jdt.core.formatter.keep_method_body_on_one_line=one_line_never
523 | org.eclipse.jdt.core.formatter.keep_record_constructor_on_one_line=one_line_never
524 | org.eclipse.jdt.core.formatter.keep_record_declaration_on_one_line=one_line_never
525 | org.eclipse.jdt.core.formatter.keep_simple_do_while_body_on_same_line=false
526 | org.eclipse.jdt.core.formatter.keep_simple_for_body_on_same_line=false
527 | org.eclipse.jdt.core.formatter.keep_simple_getter_setter_on_one_line=false
528 | org.eclipse.jdt.core.formatter.keep_simple_while_body_on_same_line=false
529 | org.eclipse.jdt.core.formatter.keep_switch_body_block_on_one_line=one_line_never
530 | org.eclipse.jdt.core.formatter.keep_switch_case_with_arrow_on_one_line=one_line_never
531 | org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
532 | org.eclipse.jdt.core.formatter.keep_type_declaration_on_one_line=one_line_never
533 | org.eclipse.jdt.core.formatter.lineSplit=120
534 | org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
535 | org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
536 | org.eclipse.jdt.core.formatter.number_of_blank_lines_after_code_block=0
537 | org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_code_block=0
538 | org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
539 | org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_code_block=0
540 | org.eclipse.jdt.core.formatter.number_of_blank_lines_at_end_of_method_body=0
541 | org.eclipse.jdt.core.formatter.number_of_blank_lines_before_code_block=0
542 | org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
543 | org.eclipse.jdt.core.formatter.parentheses_positions_in_annotation=common_lines
544 | org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause=common_lines
545 | org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration=common_lines
546 | org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment=common_lines
547 | org.eclipse.jdt.core.formatter.parentheses_positions_in_if_while_statement=common_lines
548 | org.eclipse.jdt.core.formatter.parentheses_positions_in_lambda_declaration=common_lines
549 | org.eclipse.jdt.core.formatter.parentheses_positions_in_method_delcaration=common_lines
550 | org.eclipse.jdt.core.formatter.parentheses_positions_in_method_invocation=common_lines
551 | org.eclipse.jdt.core.formatter.parentheses_positions_in_record_declaration=common_lines
552 | org.eclipse.jdt.core.formatter.parentheses_positions_in_switch_statement=common_lines
553 | org.eclipse.jdt.core.formatter.parentheses_positions_in_try_clause=common_lines
554 | org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
555 | org.eclipse.jdt.core.formatter.tabulation.char=space
556 | org.eclipse.jdt.core.formatter.tabulation.size=4
557 | org.eclipse.jdt.core.formatter.text_block_indentation=0
558 | org.eclipse.jdt.core.formatter.use_on_off_tags=true
559 | org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
560 | org.eclipse.jdt.core.formatter.wrap_before_additive_operator=true
561 | org.eclipse.jdt.core.formatter.wrap_before_assertion_message_operator=true
562 | org.eclipse.jdt.core.formatter.wrap_before_assignment_operator=false
563 | org.eclipse.jdt.core.formatter.wrap_before_bitwise_operator=true
564 | org.eclipse.jdt.core.formatter.wrap_before_conditional_operator=true
565 | org.eclipse.jdt.core.formatter.wrap_before_logical_operator=true
566 | org.eclipse.jdt.core.formatter.wrap_before_multiplicative_operator=true
567 | org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
568 | org.eclipse.jdt.core.formatter.wrap_before_relational_operator=true
569 | org.eclipse.jdt.core.formatter.wrap_before_shift_operator=true
570 | org.eclipse.jdt.core.formatter.wrap_before_string_concatenation=true
571 | org.eclipse.jdt.core.formatter.wrap_before_switch_case_arrow_operator=false
572 | org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
573 | org.eclipse.jdt.core.incompatibleJDKLevel=ignore
574 | org.eclipse.jdt.core.incompleteClasspath=error
575 | org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter
576 | org.eclipse.jdt.core.timeoutForParameterNameFromAttachedJavadoc=50
577 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.m2e.core.prefs:
--------------------------------------------------------------------------------
1 | activeProfiles=
2 | eclipse.preferences.version=1
3 | resolveWorkspaceProjects=true
4 | version=1
5 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.wst.common.component:
--------------------------------------------------------------------------------
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 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.wst.common.project.facet.core.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.wst.jsdt.ui.superType.container:
--------------------------------------------------------------------------------
1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary
--------------------------------------------------------------------------------
/.settings/org.eclipse.wst.jsdt.ui.superType.name:
--------------------------------------------------------------------------------
1 | Window
--------------------------------------------------------------------------------
/.settings/org.eclipse.wst.validation.prefs:
--------------------------------------------------------------------------------
1 | disabled=06target
2 | eclipse.preferences.version=1
3 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6 |
7 | ## Our Standards
8 |
9 | Examples of behavior that contributes to creating a positive environment include:
10 |
11 | * Using welcoming and inclusive language
12 | * Being respectful of differing viewpoints and experiences
13 | * Gracefully accepting constructive criticism
14 | * Focusing on what is best for the community
15 | * Showing empathy towards other community members
16 |
17 | Examples of unacceptable behavior by participants include:
18 |
19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances
20 | * Trolling, insulting/derogatory comments, and personal or political attacks
21 | * Public or private harassment
22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission
23 | * Other conduct which could reasonably be considered inappropriate in a professional setting
24 |
25 | ## Our Responsibilities
26 |
27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28 |
29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30 |
31 | ## Scope
32 |
33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34 |
35 | ## Enforcement
36 |
37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [Contact Email Address](https://flowcv.me/shashirajraja). The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38 |
39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40 |
41 | ## Attribution
42 |
43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44 |
45 | [homepage]: http://contributor-covenant.org
46 | [version]: http://contributor-covenant.org/version/1/4/
47 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | ## Contributing
2 |
3 | [pr]: https://github.com/raise-dev/hacktoberfest/compare
4 | [style]: https://github.com/bbatsov/ruby-style-guide
5 |
6 | Hi there! We're thrilled that you'd like to contribute to Hacktoberfest. Your help is essential for keeping it great.
7 |
8 | Contributions to this project are [released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license) to the public under the [project's open source license](LICENSE).
9 |
10 | ## Opening an issue
11 |
12 | Thank you for taking the time to open an issue, your feedback helps make Hacktoberfest better.
13 | Before opening an issue, please be sure that your issue hasn't already been asked by using [GitHub search](https://help.github.com/articles/searching-issues/)
14 |
15 | Here are a few things that will help us help resolve your issues:
16 |
17 | - A descriptive title that gives an idea of what your issue refers to
18 | - A thorough description of the issue, (one word descriptions are very hard to understand)
19 | - Screenshots (if appropriate)
20 | - Links (if appropriate)
21 |
22 | ## Submitting a pull request
23 |
24 | 0. Clone the repository
25 | 0. Configure and install the dependencies: (See the [README](README.md) for more details)
26 | 0. Make sure the tests pass on your machine: `script/test`
27 | 0. Create a new branch: `git checkout -b my-branch-name`
28 | 0. Make your change, add tests, and make sure the tests still pass
29 | 0. Push to your branch and [submit a pull request][pr]
30 | 0. Wait for your pull request to be reviewed and merged!
31 |
32 | Here are a few things you can do that will increase the likelihood of your pull request being accepted:
33 |
34 | - Follow the [style guide][style].
35 | - Write tests.
36 | - Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
37 | - Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
38 |
39 | ## Resources
40 |
41 | - [Contributing to Open Source on GitHub](https://guides.github.com/activities/contributing-to-open-source/)
42 | - [Using Pull Requests](https://help.github.com/articles/using-pull-requests/)
43 | - [GitHub Help](https://help.github.com)
44 |
--------------------------------------------------------------------------------
/Dummy_Database.md:
--------------------------------------------------------------------------------
1 | ### Copy and Paste the following MYSQL commands to make a dummy database for this Project :
2 |
3 |
4 | create database if not exists onlinebookstore;
5 |
6 | use onlinebookstore;
7 |
8 | create table if not exists books(barcode varchar(100) primary key, name varchar(100), author varchar(100), price int, quantity int);
9 |
10 | create table if not exists users(username varchar(100) primary key,password varchar(100), firstname varchar(100),lastname varchar(100),address text, phone varchar(100),mailid varchar(100),usertype int);
11 |
12 | insert into books values('9780134190500', 'Data Structures Through C', 'G.S. Baluja', 525, 20);
13 |
14 | insert into books values('9780134190563','The Go Programming Language','Alan A. A. Donovan and Brian W. Kernighan',400,8);
15 |
16 | insert into books values('9780133053036','C++ Primer','Stanley Lippman and Josée Lajoie and Barbara Moo',976,13);
17 |
18 | insert into books values('9781718500457','The Rust Programming Language','Steve Klabnik and Carol Nichols',560,12);
19 |
20 | insert into books values('9781491910740','Head First Java','Kathy Sierra and Bert Bates and Trisha Gee',754,23);
21 |
22 | insert into books values('9781492056300','Fluent Python','Luciano Ramalho',1014,5);
23 |
24 | insert into books values('9781720043997','The Road to Learn React','Robin Wieruch',239,18);
25 |
26 | insert into books values('9780132350884','Clean Code: A Handbook of Agile Software Craftsmanship','Robert C Martin',288,3);
27 |
28 | insert into books values('9780132181273','Domain-Driven Design','Eric Evans',560,28);
29 |
30 | insert into books values('9780132181785', 'Let us C', 'Yashavant Kanetkar', 329, 15);
31 |
32 | insert into books values('9781951204006','A Programmers Guide to Computer Science','William Springer',188,4);
33 |
34 | insert into books values('9780316204552','The Soul of a New Machine','Tracy Kidder',293,30);
35 |
36 | insert into books values('9780132778046','Effective Java','Joshua Bloch',368,21);
37 |
38 | insert into books values('9781484255995','Practical Rust Projects','Shing Lyu',257,15);
39 |
40 | insert into books values('9781484255996','Agni Veena','Kazi Nasrul Islam',259,25);
41 |
42 | insert into users values('demo','demo','Demo','User','Demo Home','42502216225','demo@gmail.com',2);
43 |
44 | insert into users values('Admin','Admin','Mr.','Admin','Haldia WB','9584552224521','admin@gmail.com',1);
45 |
46 | insert into users values('shashi','shashi','Shashi','Raj','Bihar','1236547089','shashi@gmail.com',2);
47 |
48 | commit;
49 |
--------------------------------------------------------------------------------
/Jenkinsfile:
--------------------------------------------------------------------------------
1 | pipeline {
2 | agent any
3 | stages {
4 | stage("git_checkout") {
5 | steps {
6 | echo "cloning repository"
7 | echo "repo cloned successfully"
8 | }
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Procfile:
--------------------------------------------------------------------------------
1 | web: java $JAVA_OPTS -jar target/dependency/webapp-runner.jar --port $PORT target/*.war
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # OnlineBookStore
2 | - A Java Web Developement Project
3 | - **Youtube VIDEO** for step by step Local Setup Guide : https://youtu.be/mLFPodZO8Iw
4 | - **Youtube VIDEO** for local setup of tender management project: https://www.youtube.com/watch?v=7CE3aY4e644
5 |
6 | - User Login Credentials: (shashi/shashi)
7 | - Admin Login Credentials: (Admin/Admin)
8 |
9 |
10 | ### About
11 |
12 | A user-friendly Online Bookstore project in which users can log in or register, view the available books, select books along with their quantity, and buy them. Users can also get payment receipts after successful payment. The project can also be used by the administrator, who can add new books, remove books, increase and decrease the quantity of books, change the price of the books as well as maintain the selling history of books.
13 |
14 | 
15 |
16 | **This Website is built for following purpose:-**
17 | - For Selling books online.
18 | - Maintaining books selling history.
19 | - Adding and managing books.
20 | - User Friendly.
21 | - For Implementation of Http Servlets in Java.
22 | - This is a Mini-project developed using Java, Jdbc, And Servlets.
23 |
24 | **Admin Have Following Access for this online store site:-**
25 | - Add New Books.
26 | - View Books Available.
27 | - Remove Books.
28 | - Increase Books Amount.
29 |
30 | **Users Have Following Access for this online store site:-**
31 | - Create New Account or Register.
32 | - Login.
33 | - View Available Books.
34 | - Select Books to Buy.
35 | - Select Books Quantity.
36 | - Buy Books.
37 | - Get Payment Receipt.
38 |
39 | ### Technologies used:-
40 | 1. Front-End Development:
41 | - HTML
42 | - CSS
43 | - Javascript
44 | - BootStrap
45 |
46 | 2. Back-End Development:
47 | - Java [JDK 8+]
48 | - JDBC
49 | - Servlet
50 |
51 | 3. Database:
52 | - MySql
53 |
54 | ### ================ Software And Tools Required ================
55 | - : Git [https://www.youtube.com/watch?v=gv7VPQ4LZ7g]
56 | - : Java JDK 8+ [https://www.youtube.com/watch?v=O9PWH9SeTTE]
57 | - : Eclipse EE (Enterprise Edition) [https://www.youtube.com/watch?v=8aDsEV7txXE]
58 | - : Apache Maven [https://www.youtube.com/watch?v=jd2zx3dLjuw]
59 | - : Tomcat v8.0+ [https://youtu.be/mLFPodZO8Iw?t=903]
60 | - : MySQL Server [https://www.youtube.com/watch?v=Ydh5jYA6Frs]
61 | - : MySQL Workbench (optional) [https://www.youtube.com/watch?v=t79oCeTXHwg]
62 |
63 | ### ================= Dummy Database Initialization =================
64 |
65 | STEP 1: Open MySQL Command Prompt or MySQL Workbench
66 |
67 | STEP 2: Login to the administrator user as : ```mysql -u -p``` (Enter Password if asked)
68 |
69 | STEP 3: Copy paste the following MySql Commands-
70 | ```MySQL
71 | create database if not exists onlinebookstore;
72 |
73 | use onlinebookstore;
74 |
75 | create table if not exists books(barcode varchar(100) primary key, name varchar(100), author varchar(100), price int, quantity int);
76 |
77 | create table if not exists users(username varchar(100) primary key,password varchar(100), firstname varchar(100),
78 | lastname varchar(100),address text, phone varchar(100),mailid varchar(100),usertype int);
79 |
80 | insert into books values('9780134190563','The Go Programming Language','Alan A. A. Donovan and Brian W. Kernighan',400,8);
81 | insert into books values('9780133053036','C++ Primer','Stanley Lippman and Josée Lajoie and Barbara Moo',976,13);
82 | insert into books values('9781718500457','The Rust Programming Language','Steve Klabnik and Carol Nichols',560,12);
83 | insert into books values('9781491910740','Head First Java','Kathy Sierra and Bert Bates and Trisha Gee',754,23);
84 | insert into books values('9781492056300','Fluent Python','Luciano Ramalho',1014,5);
85 | insert into books values('9781720043997','The Road to Learn React','Robin Wieruch',239,18);
86 | insert into books values('9780132350884','Clean Code: A Handbook of Agile Software Craftsmanship','Robert C Martin',288,3);
87 | insert into books values('9780132181273','Domain-Driven Design','Eric Evans',560,28);
88 | insert into books values('9781951204006','A Programmers Guide to Computer Science','William Springer',188,4);
89 | insert into books values('9780316204552','The Soul of a New Machine','Tracy Kidder',293,30);
90 | insert into books values('9780132778046','Effective Java','Joshua Bloch',368,21);
91 | insert into books values('9781484255995','Practical Rust Projects','Shing Lyu',257,15);
92 | insert into users values('demo','demo','Demo','User','Demo Home','42502216225','demo@gmail.com',2);
93 | insert into users values('Admin','Admin','Mr.','Admin','Haldia WB','9584552224521','admin@gmail.com',1);
94 | insert into users values('shashi','shashi','Shashi','Raj','Bihar','1236547089','shashi@gmail.com',2);
95 |
96 | commit;
97 |
98 | ```
99 |
100 | ### ========== Importing and Running The Project Through Eclipse EE ==========
101 |
102 | Step 0: Open Eclipse Enterprise Edition. [Install, if not already installed.]
103 |
104 | Step 1: Click On File > Import > Git > Projects From Git > Clone Uri > Paste The Repository Url as: ```https://github.com/shashirajraja/onlinebookstore.git```> Select master Branch > Next > Next > Finish.
105 |
106 | Step 2. a: Go inside ```src/main/resources > application.properties``` and update the value of database details as per your usage, like db.driver, db.host, db.username and db.password according to your installed mysql/postgresql admin user credentials.
107 |
108 | Step 2.b: Right Click on Project > Run as > Maven Build > In the goals field enter "clean install" > apply > run
109 |
110 | Step 2.c: Right Click On Project > Build Path > Configure Build Path > Libraries > Remove and Update Any Libraries if Red Mark Exists > Finish.
111 |
112 | Step 3: [Only If Tomcat Server is not configured in Eclipse] : Right Click On Project > Run As > Run On Server > Select Tomcat V8.0 > (Select Tomcat V8.0 Installation Location If Asked) Next > Add onlinebookstore > Finish.
113 |
114 | Step 4: In The Server Tab > Double Click On Tomcat Server > Ports > Change The Port Number For Http/1.1 To 8083 > Close And Save.
115 |
116 | Step 5: Right Click On Project > Run As > Run On Server > Select Tomcat v8.0 > Next > Add All> Done.
117 |
118 | Step 6: Check Running The Site At http://localhost:8083/onlinebookstore/
119 |
120 | Step 7: Default Username And Password For Admin Is "Admin" And "Admin"
121 |
122 | Step 8: The default Username And Password For User Is "shashi" And "shashi"
123 |
124 | ## FAQ
125 | **Question:1** Unable to Connect to Database?
126 |
127 | **Answer:** Please check you have installed the mysql correctly and have updated the correct db details in application.properties file. Also you can try doing maven clean install and force update the project and restart.
128 |
129 |
130 | Note:- Considering this as a Sample Project, we have not much considered of web security.
131 | #### Some Screenshots for the project:
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 | #### "Suggestions and project improvement ideas are welcomed!"
140 |
141 | Thanks a lot,
142 | Project Leader
143 | Shashi Raj
144 |
--------------------------------------------------------------------------------
/WebContent/Animated buttons:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Gradient Color Effect | CodingNepal
5 |
6 |
7 |
225 | ANIMATED BUTTONS
226 |
227 |
228 |
");
33 | return;
34 | }
35 | try {
36 |
37 | // Add/Remove Item from the cart if requested
38 | // store the comma separated bookIds of cart in the session
39 | // StoreUtil.updateCartItems(req);
40 |
41 | RequestDispatcher rd = req.getRequestDispatcher("SellerHome.html");
42 | rd.include(req, res);
43 | pw.println("
");
44 | // Set the active tab as cart
45 | StoreUtil.setActiveTab(pw, "storebooks");
46 |
47 | // Read the books from the database with the respective bookIds
48 | List books = bookService.getAllBooks();
49 | pw.println("
");
34 | return;
35 | }
36 | try {
37 |
38 | // Read All available books from the database
39 | List books = bookService.getAllBooks();
40 |
41 | // Default Page to load data into
42 | RequestDispatcher rd = req.getRequestDispatcher("CustomerHome.html");
43 | rd.include(req, res);
44 |
45 | // Set Available Books tab as active
46 | StoreUtil.setActiveTab(pw, "books");
47 |
48 | // Show the heading for the page
49 | pw.println("
Available Books"
50 | + "
"
51 | + "
"
52 | + "
");
53 | pw.println("
\r\n"
54 | + "
");
55 |
56 | // Add or Remove items from the cart, if requested
57 | StoreUtil.updateCartItems(req);
58 |
59 | HttpSession session = req.getSession();
60 | for (Book book : books) {
61 |
62 | // Add each book to display as a card
63 | pw.println(this.addBookToCard(session, book));
64 |
65 | }
66 |
67 | // Checkout Button
68 | pw.println("
"
69 | + "
"
70 | + "
"
71 | + "
");
72 |
73 | } catch (Exception e) {
74 | e.printStackTrace();
75 | }
76 | }
77 |
78 | public String addBookToCard(HttpSession session, Book book) {
79 | String bCode = book.getBarcode();
80 | int bQty = book.getQuantity();
81 |
82 | // Quantity of the current book added to the cart
83 | int cartItemQty = 0;
84 | if (session.getAttribute("qty_" + bCode) != null) {
85 | // Quantity of each book in the cart will be added in the session prefixed with
86 | // 'qty_' following with bookId
87 | cartItemQty = (int) session.getAttribute("qty_" + bCode);
88 | }
89 |
90 | // Button To Add/Remove item from the cart
91 | String button = "";
92 | if (bQty > 0) {
93 | // If no items in the cart, show add to cart button
94 | // If items is added to the cart, then show +, - button to add/remove more items
95 | button = "