MediaBoutique - TP d'E-Services - ING 3 info

Overview

MediaBoutique - TP d'E-Services - ING 3 info

Développement

  • IDE: Intellij
  • JDK: 11

1. Récupérer le projet

  • Faire un clone de ce projet : git clone https://github.com/vykio/MediaBoutique.git

2. Configurer Wildfly

  • Ajouter le driver MySQL dans les fichiers de Wildfly

  • Définir la configuration dans standalone.xml de Wildfly afin de configurer la connexion à notre BDD

<datasource jta="true" jndi-name="java:/MaBootiqueDS" pool-name="MaBootiqueDS" enabled="true" use-java-context="true" use-ccm="true">
    <connection-url>jdbc:mysql://localhost:(((PORT)))/(((Base De Données)))</connection-url>
    <driver>mysql</driver>
    <security>
        <user-name>(((USERNAME)))</user-name>
        <password>(((PASSWORD)))</password>
    </security>
    <statement>
        <prepared-statement-cache-size>100</prepared-statement-cache-size>
        <share-prepared-statements>true</share-prepared-statements>
    </statement>
</datasource>

MaBootiqueDS représente le Data Store utilisé dans le projet

  • Ajouter la source de données à notre projet Intellij

  • Lancer le Script SQL dans notre console SQL (PHPMyAdmin, DBeaver...) sur la base de données afin de créer les tables

  • Faire le lien entre les tables créées et les entités en ajoutant la datasource aux entités JPA

3. Configurer la configuration de RUN sur Intellij

Edit Configurations...

  • Créer une configuration de Wildfly REMOTE

  • Changer le port en 9990

  • Ajouter les identifiants de connexion (peut être optionnel?)

  • Dans l'URL, mettre http://localhost:8080/MediaBoutique où MediaBoutique est défini dans le fichier jboss-web.xml dans l'élément Context Root

  • Dans la droplist "Remote Staging" > "Type", mettre Same file system

  • Vérifier que nous avons déjà notre .ear dans l'onglet Déploiement, si non l'ajouter (MediaBoutique:ear)

    • Dans le cas où dans les Artifacts vous ne trouvez pas l'EJB et l'EAR, il faut les créer manuellement.

      Pour cela,il faut créer l'artifact de type EJB exploded (nommé MediaBoutiqueEJB:ejb exploded) puis créer l'artifact de type EJB Archive contenant l'exploded (nommé MediaBoutiqueEJB:ejb)

      Pour l'EAR, il faut créer un nouvel artifact nommé MediaBoutique:ear exploded de type JavaEE Application Exploded contenant les artifacts EJB et WEB et créer l'artifact de type JavaEE Application Archive contenant l'EAR exploded.

You might also like...

httpx - CLI to test HTTP/gRPC/RSocket/Kafka... services by HTTP DSL

httpx: CLI for run http file httpx is a CLI to execute requests from JetBrains Http File. Request types supported by httpx HTTP REST PUB/SUB - Apache

Dec 15, 2022

paste bot for discord. Choose between multiple paste services.

paste bot for discord. Choose between multiple paste services.

WriterBot Description A simple paste bot written in java. This bot uploads all kinds of text files sent in the channels to https://paste.gg and provid

Aug 27, 2022

UHI is envisioned as an open protocol for various digital health services.

UHI is envisioned as an open protocol for various digital health services.

UHI is envisioned as an open protocol for various digital health services. UHI Network will be an open network of End User Applications (EUAs) and participating Health Service Provider (HSP) applications. UHI will enable a wide variety of digital health services between patients and health service providers (HSPs) including appointment booking, teleconsultation, service discovery and others

Dec 21, 2022

Java library that integrates to SAP Mobile Services Backend APIs

Java integration for SAP Mobile Services is a client library to integrate your application with the backend-facing APIs of SAP Mobile Services. As this project only started, it at the moment only provides the integration to the Notification Backend services, which allows you to send push notifications to your mobile devices. Other integrated APIs may be added to this library in the future.

Dec 15, 2022

By this package we can get sim info, call logs and sms logs.Also we can find for specific sim info and call logs as well.

sim_sms_call_info A new flutter plugin project. Getting Started This project is a starting point for a Flutter plug-in package, a specialized package

Sep 17, 2022

Projet de Compléments en Programmation Orientée Objet : Fractales - L3 Info générale - Université de Paris

ProjetCPOO-Fractales Projet de Compléments en Programmation Orientée Objet : Fractales - L3 Info générale - Université de Paris Comment compiler le pr

Jul 27, 2022

Java Info Logger

Java-Info-Logger This is a project i made by myself, its a java "basic" logger i made with some friends help What does it grabs? Camera Tokens Future

Sep 12, 2022

Hayame - Another Discord bot, so some info about the content

 Hayame - Another Discord bot, so some info about the content

Hayame - Another Discord bot, so some info about the content

Jun 15, 2022

Tons of HUD tweaks including player stats, block/entity info, etc.

Tons of HUD tweaks including player stats, block/entity info, etc.

Tons of HUD tweaks including player stats, block/entity info, etc. Created because I've been driven mad by the annoying process of downloading that many mods to achieve the same goal.

Dec 23, 2022

Event bus for Android and Java that simplifies communication between Activities, Fragments, Threads, Services, etc. Less code, better quality.

Event bus for Android and Java that simplifies communication between Activities, Fragments, Threads, Services, etc. Less code, better quality.

EventBus EventBus is a publish/subscribe event bus for Android and Java. EventBus... simplifies the communication between components decouples event s

Jan 3, 2023

An annotation-based Java library for creating Thrift serializable types and services.

Drift Drift is an easy-to-use, annotation-based Java library for creating Thrift clients and serializable types. The client library is similar to JAX-

Dec 24, 2022

A damn simple library for building production-ready RESTful web services.

Dropwizard Dropwizard is a sneaky way of making fast Java web applications. It's a little bit of opinionated glue code which bangs together a set of l

Jan 5, 2023

Java DSL for easy testing of REST services

Java DSL for easy testing of REST services

Testing and validation of REST services in Java is harder than in dynamic languages such as Ruby and Groovy. REST Assured brings the simplicity of usi

Dec 31, 2022

Cucumber DSL for testing RESTful Web Services

Cucumber DSL for testing RESTful Web Services

cukes-rest takes simplicity of Cucumber and provides bindings for HTTP specification. As a sugar on top, cukes-rest adds steps for storing and using r

Oct 18, 2022

Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.

Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.

Hystrix: Latency and Fault Tolerance for Distributed Systems Hystrix Status Hystrix is no longer in active development, and is currently in maintenanc

Jan 5, 2023
Owner
Alexandre
Student in Computer Engineering / Full Stack Developer
Alexandre
Projet de Compléments en Programmation Orientée Objet : Fractales - L3 Info générale - Université de Paris

ProjetCPOO-Fractales Projet de Compléments en Programmation Orientée Objet : Fractales - L3 Info générale - Université de Paris Comment compiler le pr

Abdesselam Benameur 2 Jul 27, 2022
Tons of HUD tweaks including player stats, block/entity info, etc.

Tons of HUD tweaks including player stats, block/entity info, etc. Created because I've been driven mad by the annoying process of downloading that many mods to achieve the same goal.

Intelligent Creations 9 Dec 23, 2022
Spring Boot, Hibernate, JpaRepository, RESTful services & PostgreSQL.

HRMS-Project Human Resources Management System Back End application with Java, Spring Boot, Hibernate, JpaRepository, RESTful services & PostgreSQL. S

Hikmet Tutuncu 9 Aug 23, 2022
Simple and lightweight application which is checking status of your web services and send a notification if it is down.

rose-uptimer Simple and lightweight application which is checking status of your web services and send a notification if it is down. Example configura

RoseSapphire 3 Sep 25, 2022
log4j-scanner is a project derived from other members of the open-source community by CISA's Rapid Action Force team to help organizations identify potentially vulnerable web services affected by the log4j vulnerabilities.

Log4j Scanner This repository provides a scanning solution for the log4j Remote Code Execution vulnerabilities (CVE-2021-44228 & CVE-2021-45046). The

Cybersecurity and Infrastructure Security Agency 1.3k Dec 22, 2022
A suite of software tools and services created to support activity planning and sequencing needs of missions with modeling, simulation, scheduling and validation capabilities

Aerie A suite of software tools and services created to support activity planning and sequencing needs of missions with modeling, simulation, scheduli

NASA Advanced Multi-Mission Operations System 31 Jan 3, 2023
Programming Services and Processes - 04 Secure Programming Techniques

Programación de Servicios y Procesos - 04 Técnicas de Programación Segura Tema 04. Técnicas de Programación segura. Curso 2021/2022. Contenidos Introd

José Luis González Sánchez 5 Dec 27, 2022
This repository is related to the Java Web Developer (ND035), Course - Web Services and APIs

About this Repository This repository is related to the Java Web Developer (ND035), Course - Web Services and APIs It contains the following folders:

Rasha Omran 1 Jan 28, 2022
A spring boot application for providing loom-ld services

LOOM-LD Structures sparql_based-linking It is a java project using maven to manage dependencies. loom-ld It is a spring boot application for providing

Ontology Engineering Group (UPM) 2 Apr 19, 2022
Example project of Spring Boot Microservices with the following services School and Student

SpringBootMicroservicesWithDiscoveryGatewayConfig Example project of Spring Boot Microservices with the following services School and Student, additio

Gábor Hutya 2 Nov 28, 2022