問題タブ [spring-dm]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
eclipse - Spring framework/Eclipse RCP integration with Blueprint Gemini
I am trying to integrate Spring framework into my Eclipse RCP application.
I was not able to find relevant documentation on how to integrate Blueprint Gemini into my RCP application. Do I just add the Gemini jars to my RCP project? I guess this is not sufficient... Then how do I add the Gemini jars as a plugin? How do I start the extender properly?
Can anyone please provide guidelines or pointers?
After following Francis Upton's advice and selecting the jars for the target platform using directory I am now able to view org.eclipse.gemini.blueprint.extender in the run configuration.
However I now get the following error:
java - Spring OSGI service reference interfaces must be explicitly imported by consuming bundle?
I'm getting acquainted with Spring OSGI and Blueprint, but am having "classpath" difficulties (like many newbies).
I have two OSGI bundles - one that defines various beans (using Blueprint, not that it should matter) and exports them as services; and another bundle that references the service beans (using Spring OSGI) and plugs them into some Apache Camel routes.
The service-provider bundle's Blueprint looks something like this:
The service-consumer bundle's Spring context looks something like this:
… But upon deployment, Spring "Cannot find class [org.apache.camel.spi.DataFormat]". I can add the interface to the Import-Package section of my Bnd instructions, but it seems redundant to have to manually list the class twice in separate locations.
An alternate choice is to extend the interface within my own project so Bnd will automatically pick it up, but this is approximately as much trouble.
I guess I'm expecting Spring to lookup services by interface name without having to actually resolve the interface class. Is this naïve? Or is there a way to have Bnd automatically import interfaces in my appContext's service references? If Bnd can do this (e.g. using plugins), is there a standard way to use the Bnd plugins with the Apache Felix bundle plugin for Maven?
osgi - 違いは何ですかと春のDM
SpringDMのxml設定ファイル<osgi:reference>
との違いは何ですか。<osgi:service>
java - Eclipse Virgo の OSGI サービス バインダー
OSGI サービス間の動的な依存関係を管理するために、サービス バインダー バンドルがここで導入されました。このサービスは、OSGI プラットフォームで必要なサービスの可用性を制御し、サービスの可用性とバンドル コンポーネント記述子に記述されたバインディング ポリシーに従ってサービス間のバインディングを確立します。これにより、必要なサービスが利用できない場合のバンドルのアクティブ化がカスタマイズされます。そのようなサービスは乙女座で提供されますか、それとも乙女座でサービスバインダーを追加して適応させる必要がありますか?
ありがとう。
osgi - OSGi: Blueprint と Spring DM
Blueprint と Spring DM について少し混乱しています。
私が真実だと思うことから:
- Spring DM は、Spring Source によって定義されたフレームワークです。
- Blueprint は、OSGi Alliance によって定義されたフレームワークです。
- ブループリントは、Spring DM から多くのアイデアを「取り入れ」ました
いいえ?
この 2 つのフレームワークが将来的に 1 つになる (マージ) ことは期待できますか? そうでない場合、どれが最も将来性がありますか?
java - SpringでEclipseRCPを構成する方法
Eclipse RCPをSpringで構成するにはどうすればよいですか?スプリングDMが必要ですか?
EclipseRCPまたはEclipseRAPを使用してSpringを構成する方法のチュートリアルを教えてください。
- Eclipse RCPにSpringを追加して、それを使用するにはどうすればよいですか?どこでもコンテキストを確認するにはどうすればよいですか?
- 何かを追加する必要があり
Target Platform
ますか? - チュートリアルはありますか、それとも詳細を教えてください。
EclipseRCPアプリケーションでSpringを使用したいだけです。
spring - Tomcat + OSGi : Catalina サービスが見つかりません
virgo-tomcat-server-3.0.2.RELEASE で Web サポートを使用して Spring DM を有効にしようとすると、次の例外が発生します。
サーバーに追加したバンドルは次のとおりです。
- catalina.osgi-5.5.23-SNAPSHOT.jar
- catalina.start.osgi-1.0.0.jar
- spring-osgi-web-1.2.1.jar
- spring-osgi-web-extender-1.2.1.jar
以前にこのエラーが発生したことがありますか?
ありがとうございました。
java - SpringがOSGi名前空間ハンドラーを見つけることができません
EclipsevirgoOSGiプラットフォームで実行されるSpringMVCプロジェクトがあります。タグを使用してOSGiサービスをインポートしようとすると<osgi:reference>
、次の例外が発生します。
これは私のアプリケーションコンテキストファイルです:
そして最後に私のMANIFEST.MFファイルで私はこれをやっています:
私は何を間違っているのですか?
spring - Spring MVC と動的モジュールのデプロイ
新しい MVC Web アプリケーションを完成させたところ、上司から、新しい顧客向けに新しいバージョンを作成するように依頼されました。同じ Web アプリケーションですが、CSS と 2 つの新しいモジュールが異なります (モジュールとは、ユーザーが DB と対話するために使用する新しいページを意味します)。大したことではなく、非常に簡単に行うことができます.Eclipseでプロジェクトを複製して変更するだけです. 2日間の作業とプロジェクトが完了しました。よくできました、すべて幸せですが、私ではありません。
私はワードプレスを考えていました。それは本当にカスタマイズ可能で、新しいテンプレートとプラグインを作成して有効にするだけです。新しいバージョンのデプロイとコードのメンテナンスを減らすために、同様のことをしたいと思います。私の質問は、Spring で同様のことを行うにはどうすればよいですか? またはそれ以上に、新しいモジュールを作成して Web アプリケーションにデプロイすることは可能ですか? Spring ダイナミックは MVC Spring アプリケーションの正しいオプションですか?
ありがとう、
アンドレア
java - SpringDMを使用しないOSGiアプリケーションでのSpringSecurityの使用
SpringDMに切り替えずに、SpringSecurityの実装をOSGi(equinox)バンドルのコンテキストに移行する方法を見つけようとしているのは約半日です。
現在、2つのプロジェクトがあります。
1.認証と承認を処理するためのいくつかのxml構成ファイルに基づくSpringSecurityの実装があります。
2.一方、セキュリティバンドル(上記のもの)と統合する必要がある約200のバンドルを持つ巨大なOGSiバンドルプロジェクト構造があります
mySpringBasedSecurityBundle
を作成する最初のステップとして、 mySecurityBundleをロードした後、このメソッドを実行して、 Spring-DataSource
を準備したcom / myComp / backend / appsecurity / spring / resources/Spring-Context.xmlにあるセキュリティ構成xmlファイルにアクセスする必要があります。 xmlおよびSpring-Security.xmlは次のとおりです。
しかし、残念ながら、この例外が発生しました。
私がWebを検索する限り、この問題に対する唯一の推奨事項はSpringDM上のアプリケーションで終わりますが、ProjectManagerがSpringDMに切り替えることは受け入れられず、正直なところ、SpringDMについてはわかりません。
SpringCoreの機能を使用してこの問題を解決するのを手伝っていただけませんか。
たくさんのMoeinに感謝します