Neo4j中GraphDatabaseServer和BOLT之间的区别(Difference between GraphDatabaseServer and BOLT in Neo4j)
我试图在Neo4J中启动一个新的Java项目,并且通过一些教程和示例,我已经看到了两种从Java访问Neo4j的方法。 GraphDatabaseServer类和Bolt驱动程序类。
据我了解,当您在Neo4j数据库中部署应用程序时,GraphDatabaseServer是首选,因为它可以直接访问底层数据库,而另一个可以使访问外部数据库服务器变得容易。 它是否正确? 是否有其他差异,优先使用其中一种?
I am trying to start a new Java project in Neo4J, and going through some tutorials and examples I have seen two way to access Neo4j from Java. The GraphDatabaseServer class and the Bolt driver classes.
As I understand, the GraphDatabaseServer is prefered when you are deploying your application inside the Neo4j DB because it can directly access the underlying DB while the other can make it easy to access an external DB server. Is this correct? Are there any other differences, prefered use cases for one or the other?
原文:https://stackoverflow.com/questions/39396065
满意答案
django-auth-ldap的tests.py包含一个简单的模拟ldap用于自己的测试。 这是由其他人分拆到fakeldap包中,虽然我没有跟进进展。 正确的答案可能是从fakeldap开始并在必要时做出贡献。
更新:目前正在进行更严肃的分离模拟LDAP层的工作。
django-auth-ldap's tests.py includes a simple mock ldap for its own tests. This was spun off by someone else into the fakeldap package, although I haven't been following progress. The right answer is probably to start with fakeldap and contribute if necessary.
UPDATE: A more serious effort to spin off a mock LDAP layer is currently underway.
相关问答
更多django-python3-ldap在Active Directory中搜索属于特定组的用户(django-python3-ldap Search Users belonging to Specific Group in Active Directory)
django-python3-ldap认证(django-python3-ldap authentication)
django-auth-ldap验证失败(django-auth-ldap failed authentication)
如何使用LDAP在Django中检查密码?(How to check a password in Django with LDAP?)
如何在django项目中使用django_auth_ldap?(How to use django_auth_ldap for django project?)
项目之外的Django设置(Django settings outside of project)
LDAP服务器 - 移动应用程序(LDAP server - mobile application)
如何为Django项目创建模拟LDAP服务器?(How to create mock LDAP server for Django project?)
根据Django中的登录用户名获取LDAP组(Get LDAP group based on login username in Django)
使用Django Auth Ldap将LDAP用户映射到Django用户(Mapping LDAP users to Django users with Django Auth Ldap)
相关文章
更多图形数据库、NOSQL和Neo4j(转载)
图形数据库、NOSQL和Neo4j
图形数据库、NOSQL和Neo4j
图形数据库、NOSQL和Neo4j
Twitter Storm中Bolt消息传递路径之源码解读
顶 【storm API】spout & bolt 类图
Storm-源码分析- bolt (backtype.storm.task)
请教:log4j 问题
Solr 使用 Log4j
Solr 使用 Log4j
最新问答
更多您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
在计算机拍照在哪里进入
使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
单页应用程序:页面重新加载(Single Page Application: page reload)
在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
Copyright ©2023 peixunduo.com All Rights Reserved.粤ICP备14003112号
本站部分内容来源于互联网,仅供学习和参考使用,请莫用于商业用途。如有侵犯你的版权,请联系我们(neng862121861#163.com),本站将尽快处理。谢谢合作!