Code Monkey home page Code Monkey logo

glassfish-16998's People

Stargazers

 avatar

Watchers

 avatar  avatar

glassfish-16998's Issues

about design idea

1 "Turn off" org.apache.felix.shell.remote bundle
Just as Richard S. Hall said:

"From an OSGi perspective, the way to administratively turn off a bundle
is to stop it or not deploy it. "

I think that Stoping shell.remote bundle is a better way on the current
gf architecture.

Because on the current gf's code, GlassFishActivator class and
GlassFishActivator.startPostStartupBundles() have not been existed, I
think that the better way is to modify OSGiGlassFishRuntimeBuilder.build
method and add the logic to stop org.apache.felix.shell.remote bundle
behind "framework.start()" .

2 provide a way to administratively turn on shell.remote bundle

Just as said on GLASSFISH-13006, felix shell is also important not only
for framework developers(re-develop based gf), but also for OSGi app
developers.However, also need to consider people who are not interested
in OSGi. In addition, considering administrative and security aspects, I
think that:

Supporting a admin cli command for turning on shell.remote bundle,
liking the following:

asadmin start-felixremoteshell --telnet.port --portsavedfile

About design of the command,

  1. --telnet.port is optional, if not inputing, gf will select an unused
    port randomly.
  2. after executing the command, gf will display the port value on
    os-related shell window in order to let the user to know the port.
  3. --portsavedfile is optional, if not inputing, gf will save the port
    value on a file of "user.home" by means of enciphering the port value.
  4. when executing the command again, if user does not input port value,
    gf will firstly read port value from the portsavedfile, and if can't
    get the port value from the portsavedfile, then, executing the logic of
  5. and updating the portsavedfile.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.