Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Per-Åke Minborg
    @minborg
    Found it. I am in now! Thanks!
    Mark Schrijver
    @ractoc
    cool, I started the first tutorial of the series yesterday, Speedment Basics
    Per-Åke Minborg
    @minborg
    Looks good! Let me know when you would like input!
    Mark Schrijver
    @ractoc
    the aim for that one is to explain how to go from just having the database to having the fully generated code you can then use in your application, strictly based on Maven
    Per-Åke Minborg
    @minborg
    Sounds like a balanced aim
    Mark Schrijver
    @ractoc
    and from there I'm planning to go layer by layer till there is a fully working rest microservice
    Per-Åke Minborg
    @minborg
    :-)
    Awesome
    Mark Schrijver
    @ractoc
    Almost done with the first tutorial in the series. I'm currently adding the Links section, but I'm running into a HTTPS certificate problem on https://speedment.com/
    looks like it expired today
    valid until is 08-09-2019...
    Per-Åke Minborg
    @minborg
    ok. I will have a look at it!
    Mark Schrijver
    @ractoc
    First tutorial is up!
    Per-Åke Minborg
    @minborg
    So nice. Under what URL?
    Per-Åke Minborg
    @minborg
    Site is up now too. Sorry for the inconvenience
    Mark Schrijver
    @ractoc
    this is the base URL for the entire series
    no problem, glad I cought it
    Per-Åke Minborg
    @minborg
    And thanks for letting me know.
    Mark Schrijver
    @ractoc
    sure
    if I put links in my tutorials, I check them at least at the time I put them in there
    not sure what the next one will be yet though
    since the actual application uses a lot of spring compontent on practically all layers, I'll head of in that direction first I think, setup a basic springboot application
    Per-Åke Minborg
    @minborg
    I’ll take a look at it later today.
    Mark Schrijver
    @ractoc
    cool, thanks
    I'll read your response tomorrow then
    already after idnight, again...
    polemravi
    @polemravi_twitter

    Hi Team,

    I am doing a POC on Hazelcast IMDG by using below framework
    Springboot app
    Speedemnt - for data load from source database to IMDG ( need to load data from different tables )
    Hazelcast Jet
    Integration with Striim for CDC.
    Is there a sample project where I can refer with the above implementatin. This would really help me in proceeding further.

    I am able to setup Hazelcast Management console.
    While Integratin Speedment i came across Enterprise Spring
    https://speedment.github.io/speedment-doc/enterprise_spring.html#top

    and
    https://speedment.github.io/speedment-doc/maven.html#installation

    I am trying to understand which one to use. Does my choice entirely depends upon the features both
    the option provides?

    Instaed of SakilApplication, I want to connect to my local database. I integrated my local db with speedment tool and could see the tables
    I tried to configure my pom.xml as defined in https://speedment.github.io/speedment-doc/maven.html#installation
    I understood the Installation Example section but after going through Maven targets I was a bit confused. Is there a way to configure the maven commands in a configuration file to process it.

    I have gone through the below link to understand and thinking of connecting to local db instead of Sakila application

    https://github.com/speedment/speedment/wiki/Tutorial:-Speedment-Spring-Boot-Integration

    Is there any sample project to understand the implementation of connecting to local database.

    Pardon for my lengthy message.

    Thanks,
    Ravichandra

    Mark Schrijver
    @ractoc
    hey there Ravichandra
    I am currently working on a set of tutorials for Speedment. The goal is to have a comprehensive set of tutorials starting from scratch and ending up with a working Spring boot Rest application.
    The first installment is up and covers code generation through Maven.
    I'm currently working on the second installment, which covers the main Springboot application architecture. after that I'll dive into connecting the application to the database.
    I hope to have the second installment done by the end of the week and to be able to start the third one directly after, so another few weeks after that
    If you want more info sooner, you can check out my test project at https://github.com/ractoc/MyCatalogue_Backend
    in particular the SpeedmentConfiguration class, which handles the database connection:
    the part you want to look at is:
    new BackendApplicationBuilder()
    .withIpAddress(host)
    .withPort(port)
    .withUsername(username)
    .withPassword(password)
    .withSchema(schema)
    .withParam("db.mysql.collationName", collation)
    .withParam("db.mysql.binaryCollationName", collationBinary)
    .build();
    Mark Schrijver
    @ractoc
    which created the ApplicationBuilder based on a full set of configuration items from the Springboot application.proprties
    polemravi
    @polemravi_twitter

    Hi Mark,

    Thanks getting back to me.
    I have gone through the link http://www.ractoc.com/2019/09/04/speedment-basics/ and understood the concepts
    So to generate the json file (speedment.json), configured the plugin and execution part as mentioned.

    When I run the command mvn clean install gives build failure error "To run speedment:generate a valid configFile needs to be specified"

    Am i missing something or speedment.json needs to be configured manually ?
    For my POC, I created just 2 tables and through speedment tool I can generated the speedment.json file
    but later on it could extend to 20 tables as well. Looking for preload the data from local datalabase to Hazelcast in memory.

    I have gone through the https://github.com/ractoc/MyCatalogue_Backend/blob/Develop/src/main/java/com/ractoc/mycatalogue/backend/configuration/SpeedmentConfiguration.java

    BackendApplication bean is that still under development or is that an interface which extends to some other datasource related classes?

    Thanks a lot for the inputs

    Thanks,
    Ravichandra

    Mark Schrijver
    @ractoc
    hhmm.. the Maven pom should generate it for you Give me a few days to look into it. I'm just about to head to bed and don't have time tomorrow...
    polemravi
    @polemravi_twitter
    ok..thanks Mark
    Per-Åke Minborg
    @minborg

    @polemravi_twitter Hi Ravichandra.

    There is an automatic tool that can generate all the Hazelcast POJOs, configuration and more described here https://speedment.com/hazelcast/

    There is an initializer (https://speedment.com/hazelcast-initializer/) that automatically will generate your pom.xml file.

    Then you could just add the springboot stuff as explained by @ractoc in his article.
    polemravi
    @polemravi_twitter

    Hi Per-Åke Minborg,

    Since Speedment provides 2 ways of generating the json file, I was looking into Maven option to include
    as part of my build and generate the needed files. When I tried this I was getting the mentioned error.

    I went through https://speedment.com/hazelcast-initializer/ and able to generate the files, trying to understand the generated
    files and framework.

    As part of POC trying to figure out which options works better.

    Thanks for the inputs

    Per-Åke Minborg
    @minborg
    @polemravi_twitter Let me know if you need any assistance!
    polemravi
    @polemravi_twitter
    Sure. Thanks @minborg