sitelink1 | |
---|---|
sitelink2 | |
sitelink3 | http://1 |
What is JavaHL?
JavaHL is a part of the Subversion project. Specifically, it is the Java language binding for the Subversion API. Subversion provides a layered API design that is delivered as native libraries (DLL's). The Subversion command line is simply one consumer of this API. The API is rich in functionality but is also maintained for backwards compatibility. This is the reason there are so many great Subversion clients and tools available, because there is a rich and stable API that provides all of the functionality you need.
Subversion is written in C to provide excellent cross platform support, but also because C produces libraries that are easy to consume from virtually any other language. The Subversion project provides and maintains language bindings for Java, Perl, Python and Ruby. The latter three are provided via the SWIG library and its ability to interface languages with native libraries. JavaHL is a "High Level" API and is provided with custom written C++ code to serve as the JNI bridge between Java code and the native libraries. This design allows us to provide a nice Java API into Subversion.
JavaHL consists of essentially four parts:
- A relatively thin layer of Java code that provides the API that consumers can talk to from Java.
- A C++ library (the JavaHL library or libsvnjavahl-1). The Java layer talks to this layer using Java Native Interface (JNI) calls. The C++ layer is where the "High Level" API is implemented. For example, Java may provide a simple API that says "Commit this list of files, using this commit message". The C++ layer takes care of memory management and performing all of the lower level Subversion API calls it takes to complete the request.
- The Subversion libraries themselves. These are the same libraries that the command line client would install and use. Also, other Subversion clients, such as TortoiseSVN or AnkhSVN would also use these same libraries.
- Subversion library dependencies. Subversion needs a number of external libraries to operate. The biggest is the Apache Portable Runtime (APR), but it also needs libraries like Neon for the HTTP client and OpenSSL to handle encryption etc.
All four of these layers are needed for JavaHL to work and be used in an application.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
17 | SVN 사용시 revision 번호로 버전관리하는 방법 | 황제낙엽 | 2012.08.28 | 948 |
» | How do I get JavaHL? | 황제낙엽 | 2010.09.28 | 528 |
15 | 이클립스 Subversion에서 svn:ignore 활용 | 황제낙엽 | 2009.02.09 | 389 |
14 |
SubVersion 설치 및 활용 (시리즈 강좌 - 05)
![]() | 황제낙엽 | 2008.06.06 | 331 |
13 |
SubVersion 설치 및 활용 (시리즈 강좌 - 04)
![]() | 황제낙엽 | 2008.06.06 | 337 |
12 | SubVersion 설치 및 활용 (시리즈 강좌 - 03) | 황제낙엽 | 2008.06.06 | 754 |
11 |
SubVersion 설치 및 활용 (시리즈 강좌 - 02)
![]() | 황제낙엽 | 2008.06.06 | 410 |
10 | SubVersion 설치 및 활용 (시리즈 강좌 - 01) | 황제낙엽 | 2008.06.06 | 313 |
9 | WindowsXP + Subversion + Apache + SSL + ViewVC | 황제낙엽 | 2008.01.23 | 277 |
8 | Linux Fedora Core 에서 CVS 설치하기 | 황제낙엽 | 2007.11.10 | 290 |
7 |
CVS 서버 구축 (Windows XP Professional SP2)
![]() | 황제낙엽 | 2007.07.25 | 351 |
6 | Subclipse - Subversion Eclipse Plugin (SVN) | 황제낙엽 | 2007.04.05 | 3320 |
5 | .cvsignore 파일에 추가한 파일 또는 디렉토리가 계속해서 공유될 경우 [1] | 황제낙엽 | 2007.03.16 | 323 |
4 | CVS Linux Setting [2] | 황제낙엽 | 2007.03.06 | 323 |
3 | CVS Linux Setting [1] | 황제낙엽 | 2007.03.01 | 305 |
2 | SVN 관련 FAQ [118] | 황제낙엽 | 2006.01.16 | 6945 |
1 |
버전관리 툴 ( CVS, SVN, VSS, BitKeeper, ClearCase ... )
![]() | 황제낙엽 | 2005.11.11 | 795 |