Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemenation of the Serialized Lob Pattern #2795

Merged
merged 54 commits into from
Mar 26, 2024

Conversation

KishalayP
Copy link
Contributor

@KishalayP KishalayP commented Jan 21, 2024

Pull request title

Pull request description

  • Added the module slob
  • Added both serializers mentioned in EAA, the Clob Serializer and Blob Serializer.
  • Implmented DB Service to persist objects to H2 DB.
  • Added required Java Docs and updated readme.
  • Added Unit Tests for both the serializers

For detailed contributing instructions see https://github.com/iluwatar/java-design-patterns/wiki/01.-How-to-contribute

KishalayP and others added 30 commits October 22, 2023 17:14
…o feature/slob_design_pattern

# Conflicts:
#	slob/src/main/java/com/iluwatar/slob/lob/Plant.java
#	slob/src/main/java/com/iluwatar/slob/lob/Product.java
#	slob/src/main/java/com/iluwatar/slob/serializers/ClobSerializer.java
@KishalayP KishalayP marked this pull request as ready for review January 21, 2024 17:55
@KishalayP
Copy link
Contributor Author

KishalayP commented Jan 21, 2024

Hi @iluwatar completed the implemntation for slob, can you please review this PR.

@KishalayP KishalayP mentioned this pull request Jan 26, 2024
slob/README.md Outdated
Comment on lines 37 to 49
import static com.iluwatar.slob.lob.Animal.iterateXmlForAnimalAndPlants;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code snippets included in the README.md should be minimal. We don't want to include irrelevant parts of the code, just the things needed to explain the pattern. See the other patterns for examples of how to do this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, removed import statmenets and license doc from README.md. Kindly check now

Copy link
Owner

@iluwatar iluwatar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed that the pattern has not been added to the parent pom.xml, so it is not built by the CI.

Copy link

@iluwatar iluwatar merged commit b5ddd62 into iluwatar:master Mar 26, 2024
1 check passed
@iluwatar
Copy link
Owner

Looks good! Thank you for the contribution 🎉

@all-contributors please add @KishalayP for code

Copy link
Contributor

@iluwatar

I couldn't determine any contributions to add, did you specify any contributions?
Please make sure to use valid contribution names.

I've put up a pull request to add @KishalayP! 🎉

@KishalayP KishalayP deleted the feature/slob_design_pattern branch March 27, 2024 08:49
@KishalayP
Copy link
Contributor Author

Thank You @iluwatar .

Looks good! Thank you for the contribution 🎉

@all-contributors please add @KishalayP for code

Copy link
Contributor

@KishalayP

I couldn't determine any contributions to add, did you specify any contributions?
Please make sure to use valid contribution names.

@KishalayP already contributed before to code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants