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
    :-0 Nice!
    Mark Schrijver
    @ractoc
    now to figure out a starting point...
    I'm thinking of making it a whole series, starting from the beginning, like I did with the unit testing one as well
    might require some review from you from time to time, see if I'm not talking rubish...
    I could add you as a reviewer for this?
    Per-Åke Minborg
    @minborg
    Sure thing. I’d love to!
    Mark Schrijver
    @ractoc
    Just PM me the username and email address you would like to use and I'll set you up
    you should then get an email with all you need (I thinkg, never actually done this before)
    Mark Schrijver
    @ractoc
    nm, just took them from you gitter profile...
    Mark Schrijver
    @ractoc
    set you up as editor, just search for posts about speedment since you can noq effectively see and edit everything...
    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