728x90
300x250

[Spring-Framework] - Spring Framework 오프라인 개발방법 - xsd 스키마 서버 구축하기


이번에 소개할 내용은 Spring Framework에서 오프라인 상태로 개발하는 방법에 대해서 소개하려고 한다.

XML 문서는 ".xsd"라는 문서 규격에 의해서 양식이 정의된다고 볼 수 있다.


Spring Framework는 .xsd 문서 규격에 의해서 환경설정이 정의된다고 볼 수 있다.


이번에 소개할 내용은 기존에 classpath를 정의해서 오프라인 개발 방법에 대한 가이드는 인터넷에서도 많이 찾아볼 수 있는 주제이다.

하지만, 동작하지 않는 문제도 있어서 이 방법을 보완할 방법이 있을 거 같아서 고안해본 것이다.


해당 문제는 스키마 서버를 하나 구축하는 방법으로 해결해볼 수 있다고 본다.

스키마 서버를 구축해도, 오프라인 개발 방법으로 구현을 하고자 했을 때, w3c.org 규격에 대한 접속 경로를 찾지 못하는 오류는 발생할 수는 있다.

Top-Level 구조이기 때문에 동작은 가능하다고 본다.


The content to be introduced this time is to introduce how to develop offline in the Spring Framework.

It can be seen that the XML document is defined by the document standard ".xsd".


Spring Framework can be seen that the environment configuration is defined by the .xsd document standard.


The content to be introduced this time is a topic that can be found a lot on the Internet as a guide on how to develop offline by defining an existing classpath.


However, there is a problem that does not work, so I thought there was a way to compensate for this method, so I devised it.

I think this problem can be solved by building a schema server.


Even if a schema server is built, an error that cannot find a connection path to the w3c.org standard may occur when attempting to implement it in an offline development method.

Because it is a top-level structure, it is considered possible to operate.



1. 동작 모습(Operation state)


아래의 그림은 톰캣 스키마 서버를 추가로 생성한 모습이다.



그림 1. 스프링 프레임워크 - 스키마 서버 구축 모습의 예



그림 2. 스프링 프레임워크 - 스키마 경로 지정해주기



그림 3. 스프링 프레임워크 - 오프라인 동작 모습




2. 첨부(Attachment)


201231_SpringFramework_오프라인_개발방법_xsd운영하기_pdf.zip

201231_SpringFramework_오프라인_개발방법_xsd운영하기_pptx.zip


[GNU/GPL v3 License를 적용 받는다.]




3. 맺음글(Conclusion)


Spring Framework를 오프라인에서 개발하는 방법 중 스키마 서버구축 방법에 대해서 소개하였다.

반응형

+ Recent posts