Spring Boot Application Deployment into WebLogic

432 views
Skip to first unread message

Rezaul Aziz

unread,
May 16, 2017, 7:44:46 PM5/16/17
to JPassion.com: Spring Framework Programming

Hi,


1. What modification is needed in your Spring Boot application to deploy a war file into WebLogic server? Do you have any code/recording for this?

2. Using JPA, how an entity object can handle multiple mappings into different tables into a database ? Do you have any code/recording for this?

Thanks,

Rezaul

Sang Shin

unread,
May 16, 2017, 8:24:17 PM5/16/17
to rezaul...@gmail.com, JPassion.com: Spring Framework Programming


On 5/16/2017 7:44 PM, Rezaul Aziz wrote:

Hi,


1. What modification is needed in your Spring Boot application to deploy a war file into WebLogic server? Do you have any code/recording for this?

We don't have a lab that demonstrates the deployment of Spring Boot
based war file over WebLogic.  But it is expected to work without a problem.



2. Using JPA, how an entity object can handle multiple mappings into different tables into a database ? Do you have any code/recording for this?

You can use @SecondaryTables annotation.  The code and recording is
available from "jpa_advanced" topic under "jpa programming" course.

-S


Thanks,

Rezaul
--
You received this message because you are subscribed to the Google Groups "JPassion.com: Spring Framework Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpassion_spri...@googlegroups.com.
Visit this group at https://groups.google.com/group/jpassion_spring.
For more options, visit https://groups.google.com/d/optout.

-- 
-------------------------------------------------------------------
             Sang Shin, sangshi...@gmail.com
         http://www.linkedin.com/in/javapassion (Linkedin)
          http://twitter.com/javapassion (Tweeter)
            Life is worth living... with Passion!
----------------------------------------------------------------------

Rezaul Aziz

unread,
May 16, 2017, 10:21:10 PM5/16/17
to JPassion.com: Spring Framework Programming

Thanks for your response!!

When I deployed the Spring boot application .war file into weblogic it gives me 404 on a service call.



We need to implements WebApplicationInitializer and override configure(). I haven't tried this yet.

@SpringBootApplication
public class MainApplication extends SpringBootServletInitializer implements WebApplicationInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(MainApplication.class);
    }

    public static void main(String[] args) throws Exception {
        SpringApplication.run(MainApplication.class, args);
    }

}

Thanks!

Sang Shin

unread,
May 17, 2017, 3:02:33 PM5/17/17
to rezaul...@gmail.com, JPassion.com: Spring Framework Programming

Yes, this is well explained in the lab and video.
--
You received this message because you are subscribed to the Google Groups "JPassion.com: Spring Framework Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpassion_spri...@googlegroups.com.
Visit this group at https://groups.google.com/group/jpassion_spring.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages